summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorIonut Biru <ibiru@archlinux.org>2011-11-08 20:50:08 +0000
committerPierre Schmitz <pierre@archlinux.de>2011-11-09 20:32:29 +0100
commita628c1a006175eada5d222f2e8b97e5831ee0357 (patch)
treee2b9bd60ec628e5a2959397a680e6cf7a2082164 /makechrootpkg.in
parent8ba91b05743973de8d727143f418f473e563b62f (diff)
downloaddevtools-a628c1a006175eada5d222f2e8b97e5831ee0357.tar.xz
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>
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 8e0b6ee..8a4b143 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -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