1
0
mirror of https://github.com/rancher/os.git synced 2025-05-08 16:16:20 +00:00
os/scripts/entry

16 lines
173 B
Plaintext
Raw Permalink Normal View History

2016-05-06 17:12:09 +00:00
#!/bin/bash
set -e
2016-05-06 17:12:09 +00:00
2016-05-08 17:35:48 +00:00
mkdir -p bin dist build/initrd
2016-05-06 17:12:09 +00:00
if [ -e ./scripts/$1 ]; then
./scripts/"$@"
else
"$@"
fi
2016-05-08 17:35:48 +00:00
EXIT=$?
chown -R $DAPPER_UID:$DAPPER_GID .
exit $EXIT