xorg fonctionnel en mode vesa
[hvlinux.git] / stage3 / cis-inetutils
index 3e4074a..76ce396 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.
@@ -6,12 +8,10 @@ source ../sysinfos
 source ../functions
 source ../packages-list
 
-CUR_DIR=$(pwd)
-
 # Applying patches (if any)
-apply_patches ${1} &&
+apply_patches ${1}
 
-cd ${LFS_TMP}/${1}-build &&
+cd ${LFS_TMP}/${1}-build
 ../${1}/configure \
     --prefix=/usr \
     --libexecdir=/usr/sbin \
@@ -22,19 +22,18 @@ cd ${LFS_TMP}/${1}-build &&
     --disable-dependancy-tracking \
     --disable-syslogd \
     --with-pam \
-    --with-wrap &&
-make &&
-make install &&
-mv /usr/bin/ping /bin &&
+    --with-wrap
+make
+make install
+mv /usr/bin/ping /bin
 
 # Creating /etc/inetd.conf
-touch /etc/inetd.conf &&
+touch /etc/inetd.conf
 
 # Bootscript
-install -v -m740 ${CUR_DIR}/bootscripts/inetd /etc/rc.d/init.d &&
+install -v -m740 ${SCRDIR}/bootscripts/inetd /etc/rc.d/init.d
 
 # script-name start stop
 bootscript_add_rc3 inetd 30 60
 
-# Return last error
 exit $?