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 <[email protected]>
---
 makechrootpkg.in |    2 +-
 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
-- 
1.7.7.2

Reply via email to