Replaced /bin/sh by /bin/bash
[hvlinux.git] / stage2 / packages-update
index 01ce4d0..fb4f628 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 LFS_STAGE="stage2"
 USE_LFS_PATCHES=1
@@ -14,6 +14,10 @@ source ../packages-list
 
 update_packages_init
 
+if [ ${#} -eq 1 -a "x${1}" = "xtest" ]; then
+    export TEST_INTEGRITY=1
+fi
+
 # These packages were already downloaded for stage0:
 lpkg     0 ${KERNEL}
 lpkg     0 ${EGLIBC}
@@ -22,7 +26,7 @@ lpkg     0 ${MPFR}
 lpkg     0 ${PPL}
 lpkg     0 ${CLOOG_PPL}
 lpkg     0 ${BINUTILS}
-lpkg     0 ${GCC_CORE}
+lpkg     0 ${GCC}
 
 # These packages were already downloaded for stage1:
 lpkg     1 ${ZLIB}