Created
August 27, 2014 22:19
-
-
Save alapidas/f87e8b6e3f05077b87ba 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
diff --git a/scripts/zup/post/run_migrates b/scripts/zup/post/run_migrates | |
index d1e8ef0..b4c955f 100755 | |
--- a/scripts/zup/post/run_migrates | |
+++ b/scripts/zup/post/run_migrates | |
@@ -20,7 +20,11 @@ function run_zenmigrate | |
# Run (set -e should cause this to die when a script fails) | |
for STEP in $MIGRATE_SCRIPTS; do | |
- zenmigrate --step=$STEP | |
+ if [[ $STEP != "the_script_I_do_not_want_to_run" ]]; then | |
+ zenmigrate --step=$STEP | |
+ else: | |
+ echo "Skipping the script I do not want to run" | |
+ fi | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment