Unify comment style
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
parent
563ffa7be8
commit
48ccc1c7fb
|
@ -156,7 +156,7 @@ if [ -n "$install_pkg" ]; then
|
||||||
mkarchroot -r "pacman -U /$pkgname" "$copydir"
|
mkarchroot -r "pacman -U /$pkgname" "$copydir"
|
||||||
ret=$?
|
ret=$?
|
||||||
rm "$copydir/$pkgname"
|
rm "$copydir/$pkgname"
|
||||||
#exit early, we've done all we need to
|
# Exit early, we've done all we need to
|
||||||
exit $ret
|
exit $ret
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -167,11 +167,11 @@ fi
|
||||||
[ -d "$copydir/build" ] || mkdir "$copydir/build"
|
[ -d "$copydir/build" ] || mkdir "$copydir/build"
|
||||||
|
|
||||||
if [ "$REPACK" != "1" ]; then
|
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/"*
|
rm -rf "$copydir/build/"*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# read .makpekg.conf even if called via sudo
|
# Read .makepkg.conf even if called via sudo
|
||||||
if [ -n "${SUDO_USER}" ]; then
|
if [ -n "${SUDO_USER}" ]; then
|
||||||
makepkg_conf="/$(eval echo ~${SUDO_USER})/.makepkg.conf"
|
makepkg_conf="/$(eval echo ~${SUDO_USER})/.makepkg.conf"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue