-Removed non-existent make target (install-extra-doc)
[hvlinux.git] / stage2 / cis-bison
index 440d960..306f6d7 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,19 +9,18 @@ source ../functions
 source ../packages-list
 
 # Applying patches (if any)
-apply_patches ${1} &&
+apply_patches ${1}
 
-cd ${LFS_TMP}/${1}-build &&
+cd ${LFS_TMP}/${1}-build
 ../${1}/configure \
     --prefix=/usr \
-    --sysconfdir=/etc &&
+    --sysconfdir=/etc
 # The configure system causes bison to be built without support for
 # internationalization of error messages if a bison program is not
 # already in $PATH. The following addition will correct this:
-echo '#define YYENABLE_NLS 1' >> config.h &&
-make &&
-make install &&
+echo '#define YYENABLE_NLS 1' >> config.h
+make
+make install
 ldconfig
 
-# Return last error
 exit $?