Conversion errexit stage3
[hvlinux.git] / stage3 / cis-git-manpages
index 86ea138..35ad050 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
+set -o errexit
+
 # First argument of this script is the package name.
 # Remaining arguments are additional configure options.
 
@@ -17,10 +19,9 @@ source ../functions
 source ../packages-list
 
 # Applying patches (if any)
-apply_patches ${PACKAGE} &&
+apply_patches ${PACKAGE}
 
-cd ${LFS_TMP}/${PACKAGE} &&
+cd ${LFS_TMP}/${PACKAGE}
 cp -a * /usr/share/man
 
-# Return last error
 exit $?