X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fcis-udev-config;h=d4c9d8d241664989c5eb9e673352ba83441faa4e;hb=46c7c4e8f98985e982995b4e4f4967abbd72f9a3;hp=eabeee93331d45196b54c9456aa14c4a435e09ed;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/cis-udev-config b/stage2/cis-udev-config index eabeee9..d4c9d8d 100755 --- a/stage2/cis-udev-config +++ b/stage2/cis-udev-config @@ -1,4 +1,6 @@ -#!/bin/sh +#!/bin/bash +set -o errexit + # First argument of this script is the package name. # Reading system configuration informations, functions and package versions. @@ -7,16 +9,12 @@ source ../functions source ../packages-list # Applying patches (if any) -apply_patches ${1} && +apply_patches ${1} -cd ${LFS_TMP}/${1} && -make install && +cd ${LFS_TMP}/${1} +make install # Install the documentation that explains the LFS-specific rules files: -make install-doc && - -# Install the documentation that explains the commonly-used rules files provided by Udev: -make install-extra-doc +make install-doc -# Return last error exit $?