2015-06-23 21:43:31 +03:00
|
|
|
#!/usr/bin/env bash
|
2014-05-03 01:45:29 +04:00
|
|
|
|
2017-07-26 02:32:22 +03:00
|
|
|
set -euo pipefail
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
2017-09-20 23:20:43 +03:00
|
|
|
# Call "sync" between "chmod" and execution to prevent "text file busy" error in Docker (aufs)
|
|
|
|
chmod +x "$DIR/run.sh"; sync
|
|
|
|
"$DIR/run.sh" default-build "$@"
|