X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fcis-bison;h=306f6d710bdfc72787cce2f2bb024f8aa6a2ecd5;hb=a934432259aa5d5b687fe52731d6baf13c9675dc;hp=440d960df6b78d6075cbce992a6d3f768e27a487;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/cis-bison b/stage2/cis-bison index 440d960..306f6d7 100755 --- a/stage2/cis-bison +++ b/stage2/cis-bison @@ -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,19 +9,18 @@ source ../functions source ../packages-list # Applying patches (if any) -apply_patches ${1} && +apply_patches ${1} -cd ${LFS_TMP}/${1}-build && +cd ${LFS_TMP}/${1}-build ../${1}/configure \ --prefix=/usr \ - --sysconfdir=/etc && + --sysconfdir=/etc # The configure system causes bison to be built without support for # internationalization of error messages if a bison program is not # already in $PATH. The following addition will correct this: -echo '#define YYENABLE_NLS 1' >> config.h && -make && -make install && +echo '#define YYENABLE_NLS 1' >> config.h +make +make install ldconfig -# Return last error exit $?