mirror of
https://github.com/rancher/os.git
synced 2025-08-31 22:32:14 +00:00
Refactor build scripts
This commit is contained in:
11
scripts/entry
Executable file
11
scripts/entry
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
Reference in New Issue
Block a user