From 48ccc1c7fb5a6f212d999bbd0de80710eb1169b1 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 1 Apr 2011 16:35:30 -0500 Subject: Unify comment style Signed-off-by: Dan McGee Signed-off-by: Pierre Schmitz --- makechrootpkg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'makechrootpkg') diff --git a/makechrootpkg b/makechrootpkg index 2a9f56b..9143f0c 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -156,7 +156,7 @@ if [ -n "$install_pkg" ]; then mkarchroot -r "pacman -U /$pkgname" "$copydir" ret=$? rm "$copydir/$pkgname" - #exit early, we've done all we need to + # Exit early, we've done all we need to exit $ret fi @@ -167,11 +167,11 @@ fi [ -d "$copydir/build" ] || mkdir "$copydir/build" if [ "$REPACK" != "1" ]; then - #Remove anything in there UNLESS -R (repack) was passed to makepkg + # Remove anything in there UNLESS -R (repack) was passed to makepkg rm -rf "$copydir/build/"* fi -# read .makpekg.conf even if called via sudo +# Read .makepkg.conf even if called via sudo if [ -n "${SUDO_USER}" ]; then makepkg_conf="/$(eval echo ~${SUDO_USER})/.makepkg.conf" else -- cgit v1.2.3-24-g4f1b