WindowMaker installe OK
[hvlinux.git] / stage3 / cis-dvdfs
index 8aa3be1..ef92029 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.
 
@@ -7,21 +9,18 @@ source ../sysinfos
 source ../functions
 source ../packages-list
 
-CUR_DIR=$(pwd)
-
 PACKAGE=${1}
 shift
 CONFIGURE_OPTS=${*}
 
 # Applying patches (if any)
-apply_patches ${PACKAGE} &&
+apply_patches ${PACKAGE}
 
-cd ${LFS_TMP}/${PACKAGE} &&
-make &&
-make install &&
+cd ${LFS_TMP}/${PACKAGE}
+make
+make install
 
 # Mount script
-install -v -m755 ${CUR_DIR}/resources/mount.fusedvdfs /sbin
+install -v -m755 ${SCRDIR}/resources/mount.fusedvdfs /sbin
 
-# Return last error
 exit $?