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: Ionut Biru <ibiru@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
Ionut Biru 2011-11-08 20:50:08 +00:00 committed by Pierre Schmitz
parent 8ba91b0574
commit a628c1a006
1 changed files with 1 additions and 1 deletions

View File

@ -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