touchprint/export-image/00-allow-rerun/00-run.sh
Logan Gartner d224b02031
Changed shebangs to be portable
I did this because hardcoding /bin/bash is generally not good practice
2020-09-03 01:20:38 -06:00

10 lines
278 B
Bash
Executable file

#!/usr/bin/env bash
set -e
if [ ! -x "${ROOTFS_DIR}/usr/bin/qemu-arm-static" ]; then
cp /usr/bin/qemu-arm-static "${ROOTFS_DIR}/usr/bin/"
fi
if [ -e "${ROOTFS_DIR}/etc/ld.so.preload" ]; then
mv "${ROOTFS_DIR}/etc/ld.so.preload" "${ROOTFS_DIR}/etc/ld.so.preload.disabled"
fi