1
0
mirror of https://github.com/rancher/os.git synced 2025-05-08 08:06:18 +00:00
os/scripts/entry
2016-06-15 16:45:05 -07:00

16 lines
173 B
Bash
Executable File

#!/bin/bash
set -e
mkdir -p bin dist build/initrd
if [ -e ./scripts/$1 ]; then
./scripts/"$@"
else
"$@"
fi
EXIT=$?
chown -R $DAPPER_UID:$DAPPER_GID .
exit $EXIT