1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framagames_ynh.git synced 2024-09-03 18:36:28 +02:00

Removal of trainiling / for path

This commit is contained in:
polytan02 2015-04-12 23:20:49 +01:00
parent e5037d7507
commit 470da8ce10

View file

@ -6,6 +6,9 @@ domain=$1
path=$2
is_public=$3
# Removal of trailing /
path=${path%/}
# sitename == path without "/"
sitename=$(echo $path | cut -d '/' -f 2)