nt9856x/BSP/busybox/qemu_multiarch_testing/hdc.dir/init
2023-03-28 15:07:53 +08:00

10 lines
280 B
Bash
Executable File

#!/bin/sh
# Emit a msg to let user know this place was reached
echo "Copying to /home"
# Had a case where cp SEGVs, let's have diagnostics for it
cp -a /mnt /home || { echo "cp: $?"; exit 1; }
cd /home/mnt || { echo "cd: $?"; exit 1; }
exec ./build
echo "Failed to exec ./build"