summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 166b89b..e06f46c 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -67,7 +67,7 @@ while getopts 'hcudr:I:l:n' arg; do
r) passeddir="$OPTARG" ;;
I) install_pkg="$OPTARG" ;;
l) copy="$OPTARG" ;;
- n) run_namcap=true ;;
+ n) run_namcap=true; makepkg_args="$makepkg_args -i" ;;
*) makepkg_args="$makepkg_args -$arg $OPTARG" ;;
esac
done