X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fcis-dvdfs;h=ef92029be0a9d704e5fde86da4e71d5f76a77ccd;hb=e31a492ed6daa2caeb62aa9ce355c988a62672df;hp=8aa3be1b7e324739310bb77ae4cdce83362f4572;hpb=12b39d0455ce4e04ae2c7719ea91dfeca9bfe4a6;p=hvlinux.git diff --git a/stage3/cis-dvdfs b/stage3/cis-dvdfs index 8aa3be1..ef92029 100755 --- a/stage3/cis-dvdfs +++ b/stage3/cis-dvdfs @@ -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 $?