Commit a628c1a0 authored by Ionut Biru's avatar Ionut Biru Committed by Pierre Schmitz
Browse files

makechrootpkg: fix repack



repack is defined as a boolean. set it true when -R is passed

/usr/sbin/makechrootpkg: line 295: 1: command not found

Signed-off-by: default avatarIonut Biru <ibiru@archlinux.org>
Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
parent 8ba91b05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ makepkg_args="$makepkg_args ${*:$OPTIND}"
# See if -R was passed to makepkg
for arg in ${*:$OPTIND}; do
	if [[ $arg = -R ]]; then
		repack=1
		repack=true
		break
	fi
done