Use same BASEURI as gosrc
This commit is contained in:
parent
763396193e
commit
fa8343405b
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
BASEURL="http://localhost:8081"
|
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() {
|
new_theme() {
|
||||||
NAME="$1"
|
NAME="$1"
|
||||||
|
|
@ -79,9 +79,9 @@ do
|
||||||
|
|
||||||
if [ -z "${THM_BASEURI}" ]
|
if [ -z "${THM_BASEURI}" ]
|
||||||
then
|
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
|
if [ -z "${THM_BASEURI}" ]; then
|
||||||
THM_BASEURI="${THEME_NAME}/"
|
THM_BASEURI="/${THEME_NAME}/"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
read -p "Base URI for the exercice [${EXO_NAME}/]: ${BASEURI}${THM_BASEURI}" EXO_BASEURI
|
read -p "Base URI for the exercice [${EXO_NAME}/]: ${BASEURI}${THM_BASEURI}" EXO_BASEURI
|
||||||
|
|
|
||||||
Reference in a new issue