#!/bin/sh
+set -o errexit
+
# First argument of this script is the package name
# Reading system configuration informations, functions and package versions.
source ../packages-list
# Applying patches (if any)
-apply_patches ${1} &&
+apply_patches ${1}
-cd ${LFS_TMP}/${1} &&
-make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root &&
-make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
+cd ${LFS_TMP}/${1}
+make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
+make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install
cat > /etc/sysconfig/cdrecord << "EOF"
#!/bin/sh
CDROM_DEVICE_DESC="CDR-8235"
EOF
-# Return last error
exit $?