From 3a99517d437850a809d59f485328c3c270c473d1 Mon Sep 17 00:00:00 2001 From: tilly-Q Date: Thu, 31 Oct 2013 17:10:03 -0400 Subject: [PATCH] This commit made it so that the script now extracts two different archive. One for the chosen database, and one for the media to go in the UserDev directory. This will make the mg-dev-example-environments branch more efficient. --- devtools/make_example_database.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devtools/make_example_database.sh b/devtools/make_example_database.sh index 220d94f7..e6337d35 100755 --- a/devtools/make_example_database.sh +++ b/devtools/make_example_database.sh @@ -19,6 +19,7 @@ USAGE="Usage: $0 -h | [-p PATH] -e ENVIRONMENT" ENVIRONMENT="migration-18" +USER_DEV="user_dev_default" DEV_ENV_DIRECTORY_PATH="../mg-dev-environments" while getopts ":hp:e:" opt; @@ -80,7 +81,7 @@ else y) break ;; - n) + n) exit 1 ;; *) @@ -98,6 +99,7 @@ else esac done tar -xzf $DEV_ENV_DIRECTORY_PATH/$ENVIRONMENT.tar.gz + tar -xzf $DEV_ENV_DIRECTORY_PATH/$USER_DEV.tar.gz echo "Completed." exit 0 fi