X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fcis-libmng;h=28953e744ad7f4627f80fe6e447d2c153814d70d;hb=5b913b7b528bb69a0c90583b8776d6d26b9cb189;hp=eb0ed8fe888052c580d8a8d81621115d4eadff6e;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage3/cis-libmng b/stage3/cis-libmng index eb0ed8f..28953e7 100755 --- a/stage3/cis-libmng +++ b/stage3/cis-libmng @@ -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,20 +9,19 @@ source ../functions source ../packages-list # Applying patches (if any) -apply_patches ${1} && +apply_patches ${1} -cd ${LFS_TMP}/${1} && -cp makefiles/makefile.linux Makefile && -make prefix=/usr install && +cd ${LFS_TMP}/${1} +cp makefiles/makefile.linux Makefile +make prefix=/usr install # The documentation files are not installed by the installation procedure, # so they are copied manually. -install -v -m644 doc/man/*.3 /usr/share/man/man3 && -install -v -m644 doc/man/*.5 /usr/share/man/man5 && -install -v -m755 -d /usr/share/doc/${1} && -install -v -m644 doc/*.{png,txt} /usr/share/doc/${1} && +install -v -m644 doc/man/*.3 /usr/share/man/man3 +install -v -m644 doc/man/*.5 /usr/share/man/man5 +install -v -m755 -d /usr/share/doc/${1} +install -v -m644 doc/*.{png,txt} /usr/share/doc/${1} ldconfig -# Return last error exit $?