Use same BASEURI as gosrc

This commit is contained in:
nemunaire 2016-01-21 20:55:06 +01:00
commit fa8343405b

View file

@ -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