diff options
author | Dan McGee <dan@archlinux.org> | 2011-04-01 16:35:30 -0500 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-04-02 00:26:33 +0200 |
commit | 48ccc1c7fb5a6f212d999bbd0de80710eb1169b1 (patch) | |
tree | 822fcdb686699e3738d59491be26ecdee7c90e96 /makechrootpkg | |
parent | 563ffa7be8b5c44b694c12c9cdafe7f41988c68d (diff) | |
download | devtools32-48ccc1c7fb5a6f212d999bbd0de80710eb1169b1.tar.xz |
Unify comment style
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'makechrootpkg')
-rwxr-xr-x | makechrootpkg | 6 |
1 files changed, 3 insertions, 3 deletions
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 |