From a628c1a006175eada5d222f2e8b97e5831ee0357 Mon Sep 17 00:00:00 2001 From: Ionut Biru Date: Tue, 8 Nov 2011 20:50:08 +0000 Subject: 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 Signed-off-by: Pierre Schmitz --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf