X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fcis-sysklogd;h=feeb789ec14325f6775e0f7458db8a5dbe72ea4a;hb=08838842e4a51c1af27915e8f627937d2dfa8e37;hp=80c8fa16c6006210284ba60afa18225d8dbb09ab;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/cis-sysklogd b/stage2/cis-sysklogd index 80c8fa1..feeb789 100755 --- a/stage2/cis-sysklogd +++ b/stage2/cis-sysklogd @@ -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,11 +9,11 @@ source ../functions source ../packages-list # Applying patches (if any) -apply_patches ${1} && +apply_patches ${1} -cd ${LFS_TMP}/${1} && -make -j ${MAKEJOBS} && -make install && +cd ${LFS_TMP}/${1} +make -j ${MAKEJOBS} +make install cat > /etc/syslog.conf << "EOF" # /etc/syslog.conf @@ -26,5 +28,4 @@ cron.* -/var/log/cron.log *.emerg * EOF -# Return last error exit $?