build.sh 253 B

12345678
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  4. # Call "sync" between "chmod" and execution to prevent "text file busy" error in Docker (aufs)
  5. chmod +x "$DIR/run.sh"; sync
  6. "$DIR/run.sh" default-build "$@"