aboutsummaryrefslogtreecommitdiff
path: root/qemu_multiarch_testing/hdc.dir/init
blob: 692371db662b7bed801f845f2972cbe65b2f1fb7 (plain)
1
2
3
4
5
6
7
8
9
#!/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"