1
0
mirror of https://github.com/rancher/os.git synced 2025-06-21 20:47:04 +00:00
os/scripts/entry
2016-05-08 10:35:48 -07:00

15 lines
166 B
Bash
Executable File

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