summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2016-11-20 14:26:56 +0100
committerDave Reisner <dreisner@archlinux.org>2016-11-20 14:26:56 +0100
commit06fb38e846fd22a4daac5d129687d1c1e6c187fc (patch)
tree01539006b2bdb96edff9f13b2d28d7801b91f307
parent757b511d71901a445f300f14ce8e54804d54724d (diff)
downloadmkinitcpio-06fb38e846fd22a4daac5d129687d1c1e6c187fc.tar.gz
mkinitcpio-06fb38e846fd22a4daac5d129687d1c1e6c187fc.tar.xz
mkinitcpio: fixing quoting in call to initialize_buildroot
-rwxr-xr-xmkinitcpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 7401285..14465bf 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -442,7 +442,7 @@ if [[ $KERNELVERSION != 'none' ]]; then
[[ -d $_d_kmoduledir ]] || die "'$_d_kmoduledir' is not a valid kernel module directory"
fi
-_d_workdir=$(initialize_buildroot "$KERNELVERSION" $_opttargetdir) || cleanup 1
+_d_workdir=$(initialize_buildroot "$KERNELVERSION" "$_opttargetdir") || cleanup 1
BUILDROOT=${_opttargetdir:-$_d_workdir/root}
. "$_f_config" || die "Failed to read configuration \`%s'" "$_f_config"