Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am10
-rwxr-xr-xscripts/makepkg8
2 files changed, 13 insertions, 5 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 9dfcc1ab..e28957bd 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -1,2 +1,10 @@
AUTOMAKE_OPTIONS = std-options
-bin_SCRIPTS = gensync makepkg makeworld updatesync pacman-optimize
+bin_SCRIPTS = gensync \
+ makepkg \
+ makeworld \
+ updatesync \
+ pacman-optimize \
+ rankmirrors \
+ abs \
+ repo-add \
+ re-pacman
diff --git a/scripts/makepkg b/scripts/makepkg
index aa53990a..cec871e7 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -736,6 +736,10 @@ fi
# build
msg "Starting build()..."
+#check for "exit on syntax error" shell option
+echo $SHELLOPTS | grep errexit 2>&1 >/dev/null
+set_e=$?
+
if [ "x$LOGGING" = "1" ]; then
BUILDLOG="${startdir}/${pkgname}-${pkgver}-${pkgrel}-${CARCH}.log"
if [ -f "$BUILDLOG" ]; then
@@ -750,10 +754,6 @@ if [ "x$LOGGING" = "1" ]; then
mv "$BUILDLOG" "$BUILDLOG.$i"
fi
- #check for "exit on syntax error" shell option
- echo $SHELLOPTS | grep errexit 2>&1 >/dev/null
- set_e=$?
-
#use 'errexit' to bail on syntax error
[ $set_e -eq 1 ] && set -e
build 2>&1 | tee "$BUILDLOG"