1
0
mirror of https://github.com/rancher/os.git synced 2025-06-21 12:37:04 +00:00
os/scripts/entry
2016-05-06 10:58:54 -07:00

12 lines
157 B
Bash
Executable File

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