[arch-projects] [PATCH] makechrootpkg: fix repack

Ionut Biru ibiru at archlinux.org
Tue Nov 8 15:50:08 EST 2011


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 at archlinux.org>
---
 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



More information about the arch-projects mailing list