-Removed non-existent make target (install-extra-doc)
[hvlinux.git] / stage2 / cis-sysklogd
index 80c8fa1..feeb789 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+set -o errexit
+
 # First argument of this script is the package name
 
 # Reading system configuration informations, functions and package versions.
@@ -7,11 +9,11 @@ source ../functions
 source ../packages-list
 
 # Applying patches (if any)
-apply_patches ${1} &&
+apply_patches ${1}
 
-cd ${LFS_TMP}/${1} &&
-make -j ${MAKEJOBS} &&
-make install &&
+cd ${LFS_TMP}/${1}
+make -j ${MAKEJOBS}
+make install
 
 cat > /etc/syslog.conf << "EOF"
 # /etc/syslog.conf
@@ -26,5 +28,4 @@ cron.* -/var/log/cron.log
 *.emerg *
 EOF
 
-# Return last error
 exit $?