From fa8343405b91e457b414164ecbfe3a96b1539ce5 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Thu, 21 Jan 2016 20:55:06 +0100 Subject: [PATCH] Use same BASEURI as gosrc --- admin/fill_exercices.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/fill_exercices.sh b/admin/fill_exercices.sh index a830183a..533e2c52 100755 --- a/admin/fill_exercices.sh +++ b/admin/fill_exercices.sh @@ -1,7 +1,7 @@ #!/bin/sh BASEURL="http://localhost:8081" -BASEURI="http://srs.epita.fr/owncloud/remote.php/webdav/FIC 2016/" +BASEURI="http://srs.epita.fr/owncloud/remote.php/webdav/FIC 2016" new_theme() { NAME="$1" @@ -79,9 +79,9 @@ do if [ -z "${THM_BASEURI}" ] then - read -p "Base URI for the theme [${THEME_NAME}/]: ${BASEURI}" THM_BASEURI + read -p "Base URI for the theme [/${THEME_NAME}/]: ${BASEURI}" THM_BASEURI if [ -z "${THM_BASEURI}" ]; then - THM_BASEURI="${THEME_NAME}/" + THM_BASEURI="/${THEME_NAME}/" fi fi read -p "Base URI for the exercice [${EXO_NAME}/]: ${BASEURI}${THM_BASEURI}" EXO_BASEURI