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:
parent
e5037d7507
commit
470da8ce10
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue