Created
February 21, 2016 02:31
-
-
Save loganwright/312a3fdaeadebaaa6a86 to your computer and use it in GitHub Desktop.
Run file as shell if exists
This file contains hidden or 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
cd $BUILD_DIR | |
echo "-----> Running Prebuild.2" | |
if [ -f "./prebuild" ]; | |
then | |
sh ./prebuild | |
else | |
echo "File does not exist." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment