summaryrefslogtreecommitdiff
path: root/src/chroot-tools
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-02 23:46:55 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-03 03:48:31 -0400
commitfa68208eb07b39fecb5084c136c9329a483a001b (patch)
tree02a363c8430b5b07fd33eff84b3c20d4a792ae9c /src/chroot-tools
parent6e92903e48e5ed6b716e1b63a690855ef53f9637 (diff)
libremakepkg: Expand short flags to unshare
Diffstat (limited to 'src/chroot-tools')
-rwxr-xr-xsrc/chroot-tools/libremakepkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index e1b9362..2efbeea 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -5,7 +5,7 @@ set -euE
# Copyright (C) 2010-2012 Nicolás Reynolds <fauno@parabola.nu>
# Copyright (C) 2010-2012 Joshua Ismael Haase Hernández (xihh) <hahj87@gmail.com>
# Copyright (C) 2012 Michał Masłowski <mtjm@mtjm.eu>
-# Copyright (C) 2012-2015, 2017 Luke Shumaker <lukeshu@parabola.nu>
+# Copyright (C) 2012-2015, 2017-2018 Luke Shumaker <lukeshu@parabola.nu>
#
# License: GNU GPLv2+
#
@@ -117,7 +117,7 @@ build() (
local run_nnet=()
if $INCHROOT; then
run_ynet=(unshare)
- run_nnet=(unshare -n)
+ run_nnet=(unshare --net)
else
run_ynet=(librechroot "${librechroot_flags[@]}" run)
run_nnet=(librechroot "${librechroot_flags[@]}" -N run)