From: gobo72 Date: Tue, 6 Jul 2010 04:23:51 +0000 (+0000) Subject: Replaced /bin/sh by /bin/bash X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=d9a5344c1aa683d051d1a1d5e87f0bba317e299a;p=hvlinux.git Replaced /bin/sh by /bin/bash --- diff --git a/stage2/cis-ac b/stage2/cis-ac index 93f3e87..199b3da 100755 --- a/stage2/cis-ac +++ b/stage2/cis-ac @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-ac-nobuild b/stage2/cis-ac-nobuild index 43e4e0e..bbe3998 100755 --- a/stage2/cis-ac-nobuild +++ b/stage2/cis-ac-nobuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-binutils b/stage2/cis-binutils index 04bddd6..2efe336 100755 --- a/stage2/cis-binutils +++ b/stage2/cis-binutils @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-bison b/stage2/cis-bison index 306f6d7..fd30558 100755 --- a/stage2/cis-bison +++ b/stage2/cis-bison @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-bootscripts b/stage2/cis-bootscripts index b334ff5..50717e6 100755 --- a/stage2/cis-bootscripts +++ b/stage2/cis-bootscripts @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # Reading system configuration informations, functions and package versions. diff --git a/stage2/cis-bzip2 b/stage2/cis-bzip2 index aa26310..b29d8de 100755 --- a/stage2/cis-bzip2 +++ b/stage2/cis-bzip2 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-compressdoc b/stage2/cis-compressdoc index 16b2240..19ac7e5 100755 --- a/stage2/cis-compressdoc +++ b/stage2/cis-compressdoc @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-diffutils b/stage2/cis-diffutils index 61cc0fd..17b1f12 100755 --- a/stage2/cis-diffutils +++ b/stage2/cis-diffutils @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-e2fsprogs b/stage2/cis-e2fsprogs index 64dee8a..02997da 100755 --- a/stage2/cis-e2fsprogs +++ b/stage2/cis-e2fsprogs @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-eglibc b/stage2/cis-eglibc index f707f70..103a21b 100755 --- a/stage2/cis-eglibc +++ b/stage2/cis-eglibc @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. @@ -18,7 +18,7 @@ EGLIBC_VER=$(echo ${PACKAGE} | sed "s!eglibc-\([0-9]*\.[0-9]*\.[0-9]*\)-.*!\1!g" case "${HVL_TARGET}" in "x86" | "x86_64") # Manually apply patch - apply_patch ${1}-rpath.patch ${1} + apply_patch ${PACKAGE}-rpath.patch ${PACKAGE} ;; esac diff --git a/stage2/cis-findutils b/stage2/cis-findutils index b3deadc..7172e90 100755 --- a/stage2/cis-findutils +++ b/stage2/cis-findutils @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-flex b/stage2/cis-flex index 0f3ddb8..ff5ae38 100755 --- a/stage2/cis-flex +++ b/stage2/cis-flex @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-gcc b/stage2/cis-gcc index 03e97c0..434386d 100755 --- a/stage2/cis-gcc +++ b/stage2/cis-gcc @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # Reading system configuration informations, functions and package versions. diff --git a/stage2/cis-gdbm b/stage2/cis-gdbm index 2511785..bacb24e 100755 --- a/stage2/cis-gdbm +++ b/stage2/cis-gdbm @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-groff b/stage2/cis-groff index c046397..460e545 100755 --- a/stage2/cis-groff +++ b/stage2/cis-groff @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-grub b/stage2/cis-grub index cb35527..bef600a 100755 --- a/stage2/cis-grub +++ b/stage2/cis-grub @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-gzip b/stage2/cis-gzip index 080d4cb..5a4b628 100755 --- a/stage2/cis-gzip +++ b/stage2/cis-gzip @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-hv-utilities b/stage2/cis-hv-utilities index 02dc099..7fa350c 100755 --- a/stage2/cis-hv-utilities +++ b/stage2/cis-hv-utilities @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-iana b/stage2/cis-iana index ab5d59d..bd972fe 100755 --- a/stage2/cis-iana +++ b/stage2/cis-iana @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # Reading system configuration informations, functions and package versions. diff --git a/stage2/cis-inetutils b/stage2/cis-inetutils index 0114107..d1076bc 100755 --- a/stage2/cis-inetutils +++ b/stage2/cis-inetutils @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-iproute2 b/stage2/cis-iproute2 index 158983a..e42af37 100755 --- a/stage2/cis-iproute2 +++ b/stage2/cis-iproute2 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-kbd b/stage2/cis-kbd index 34bda08..7f3bc67 100755 --- a/stage2/cis-kbd +++ b/stage2/cis-kbd @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-kernel b/stage2/cis-kernel index 6e2113a..acc2b8b 100755 --- a/stage2/cis-kernel +++ b/stage2/cis-kernel @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # Reading system configuration informations, functions and package versions. @@ -28,7 +28,7 @@ rm -rf dest VERSION=$(get_pkg_ver ${PACKAGE}) SCRIPT=/usr/src/compile-kernel -echo "#!/bin/sh" > ${SCRIPT} +echo "#!/bin/bash" > ${SCRIPT} echo "KERNEL_VERSION=${VERSION}" >> ${SCRIPT} echo "KERNEL_NAME=clfs-\${KERNEL_VERSION}" >> ${SCRIPT} echo "DEST=/boot" >> ${SCRIPT} diff --git a/stage2/cis-man-pages b/stage2/cis-man-pages index a3ff133..952cd15 100755 --- a/stage2/cis-man-pages +++ b/stage2/cis-man-pages @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-module-init-tools b/stage2/cis-module-init-tools index e2c7ee6..901beab 100755 --- a/stage2/cis-module-init-tools +++ b/stage2/cis-module-init-tools @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-ncurses b/stage2/cis-ncurses index 54e594b..ffe95a1 100755 --- a/stage2/cis-ncurses +++ b/stage2/cis-ncurses @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-perl-pass1 b/stage2/cis-perl-pass1 index 7738c16..3cdfabe 100755 --- a/stage2/cis-perl-pass1 +++ b/stage2/cis-perl-pass1 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-perl-pass2 b/stage2/cis-perl-pass2 index 8ab7a95..6781d17 100755 --- a/stage2/cis-perl-pass2 +++ b/stage2/cis-perl-pass2 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-pkg-config b/stage2/cis-pkg-config index 7e17d49..7d59783 100755 --- a/stage2/cis-pkg-config +++ b/stage2/cis-pkg-config @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-popt b/stage2/cis-popt index 1ccfaa4..9df4792 100755 --- a/stage2/cis-popt +++ b/stage2/cis-popt @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-post-install b/stage2/cis-post-install index 2b8512f..3e65624 100755 --- a/stage2/cis-post-install +++ b/stage2/cis-post-install @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # Reading system configuration informations, functions and package versions. diff --git a/stage2/cis-procps b/stage2/cis-procps index 1f34931..8bd8e5a 100755 --- a/stage2/cis-procps +++ b/stage2/cis-procps @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-psmisc b/stage2/cis-psmisc index 9fae283..2646a1d 100755 --- a/stage2/cis-psmisc +++ b/stage2/cis-psmisc @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-readline b/stage2/cis-readline index 5a31b38..cf28d22 100755 --- a/stage2/cis-readline +++ b/stage2/cis-readline @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-shadow b/stage2/cis-shadow index 9dda98e..bc63f0a 100755 --- a/stage2/cis-shadow +++ b/stage2/cis-shadow @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-stripping b/stage2/cis-stripping index bd6ba2c..92161d1 100755 --- a/stage2/cis-stripping +++ b/stage2/cis-stripping @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Reading system configuration informations, functions and package versions. source ../sysinfos diff --git a/stage2/cis-sysklogd b/stage2/cis-sysklogd index feeb789..77c3643 100755 --- a/stage2/cis-sysklogd +++ b/stage2/cis-sysklogd @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-sysvinit b/stage2/cis-sysvinit index f198b8a..01f29d9 100755 --- a/stage2/cis-sysvinit +++ b/stage2/cis-sysvinit @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # Reading system configuration informations, functions and package versions. diff --git a/stage2/cis-texinfo b/stage2/cis-texinfo index e96efd8..f05cb36 100755 --- a/stage2/cis-texinfo +++ b/stage2/cis-texinfo @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-toolchain-adjust b/stage2/cis-toolchain-adjust index 4ff2aab..af99d6b 100755 --- a/stage2/cis-toolchain-adjust +++ b/stage2/cis-toolchain-adjust @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # Reading system configuration informations, functions and package versions. diff --git a/stage2/cis-toolchain-test b/stage2/cis-toolchain-test index bb71697..e169c69 100755 --- a/stage2/cis-toolchain-test +++ b/stage2/cis-toolchain-test @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # Reading system configuration informations, functions and package versions. diff --git a/stage2/cis-udev b/stage2/cis-udev index d83d04c..b045306 100755 --- a/stage2/cis-udev +++ b/stage2/cis-udev @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/cis-util-linux-ng b/stage2/cis-util-linux-ng index 8a83801..967bb3b 100755 --- a/stage2/cis-util-linux-ng +++ b/stage2/cis-util-linux-ng @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name diff --git a/stage2/cis-zlib b/stage2/cis-zlib index 74f9d9c..c2a433b 100755 --- a/stage2/cis-zlib +++ b/stage2/cis-zlib @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # First argument of this script is the package name. diff --git a/stage2/create-config-files b/stage2/create-config-files index c44e74b..ab74281 100755 --- a/stage2/create-config-files +++ b/stage2/create-config-files @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -o errexit # Reading system configuration informations, functions and package versions. diff --git a/stage2/install-2 b/stage2/install-2 index 4415639..debabd7 100755 --- a/stage2/install-2 +++ b/stage2/install-2 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash LFS_STAGE=stage2 diff --git a/stage2/packages-update b/stage2/packages-update index 200e4a0..fb4f628 100755 --- a/stage2/packages-update +++ b/stage2/packages-update @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash LFS_STAGE="stage2" USE_LFS_PATCHES=1 diff --git a/stage2/stage2-additions b/stage2/stage2-additions index 2ba83f7..296857d 100755 --- a/stage2/stage2-additions +++ b/stage2/stage2-additions @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash LFS_STAGE=stage2 diff --git a/stage2/stage2-install b/stage2/stage2-install index 5b4543b..f27c556 100755 --- a/stage2/stage2-install +++ b/stage2/stage2-install @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash LFS_STAGE=stage2