aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet
diff options
context:
space:
mode:
Diffstat (limited to 'modules/planet')
-rwxr-xr-xmodules/planet/templates/deploy_new-planet.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/planet/templates/deploy_new-planet.sh b/modules/planet/templates/deploy_new-planet.sh
index 0c930773..a334e2ee 100755
--- a/modules/planet/templates/deploy_new-planet.sh
+++ b/modules/planet/templates/deploy_new-planet.sh
@@ -2,7 +2,7 @@
# Initialization
PATH_TO_FILE=${PATH_TO_FILE:-/var/lib/planet}
-PATH_TO_PLANET=${PATH_TO_FILE:-/var/www/html/planet<%= domain %>}
+PATH_TO_PLANET=${PATH_TO_PLANET:-/var/www/html/planet<%= domain %>}
#Ask for new locale name if no parameter given
echo -n "Locale name: "
@@ -13,7 +13,7 @@ echo -e -n "Do you confirm the entry: \"$locale\"? (y/n) "
read answer
if [ "$answer" == "y" ]
then
- FILE="$PATH_TO_FILE/$locale/"
+ FILE="$PATH_TO_PLANET/$locale/"
if test -d $FILE
then
echo "Aborted, $FILE already exist."