Created
January 17, 2018 13:19
-
-
Save grzegorz-rozycki/e9d894b9e89da98e5076f61ea1a72b8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A wrapper for the box command. | |
# Disables the phar.readonly PHP option before running the build command. | |
# | |
if [ -z "${@}" ] | |
then | |
CMD=build | |
else | |
CMD="${@}" | |
fi | |
php -dphar.readonly=0 $(whereis box | sed 's/box: //') ${CMD} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment