Fixed invalid shell interpreter from sh to bash
[hvlinux.git] / stage0 / cis-linux-api-headers
index e5ae471..e51344a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 set -o errexit
 
 # Reading system configuration informations, functions and package versions.
@@ -12,8 +12,8 @@ apply_patches ${1}
 cd ${LFS_TMP}/${1}
 
 ${HVMAKE} mrproper
-${HVMAKE} ARCH=${HVL_TARGET} headers_check
-${HVMAKE} ARCH=${HVL_TARGET} INSTALL_HDR_PATH=dest headers_install
+${HVMAKE} ARCH=${CLFS_ARCH} headers_check
+${HVMAKE} ARCH=${CLFS_ARCH} INSTALL_HDR_PATH=dest headers_install
 install -dv /tools/include
 cp -rv dest/include/* /tools/include