Skip to content

Instantly share code, notes, and snippets.

@alapidas
Created August 27, 2014 22:19
Show Gist options
  • Save alapidas/f87e8b6e3f05077b87ba to your computer and use it in GitHub Desktop.
Save alapidas/f87e8b6e3f05077b87ba to your computer and use it in GitHub Desktop.
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