X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fcis-inetutils;h=76ce396f373f352e14dbfb3a5a460f8864275310;hb=8c1ceecd26d41af612337eb87f51fa1d353d6c8a;hp=3e4074a777b62b0a117f8729bf281a1fd66b23ef;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage3/cis-inetutils b/stage3/cis-inetutils index 3e4074a..76ce396 100755 --- a/stage3/cis-inetutils +++ b/stage3/cis-inetutils @@ -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 $?