From e76ff70c3e87b85ca8b15b22530ad4d9ddf8ee92 Mon Sep 17 00:00:00 2001 From: Miryuni <ercol@outlook.com> Date: Thu, 1 Oct 2020 22:25:22 +0200 Subject: [PATCH] update matrixpack --- matrixpack.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matrixpack.sh b/matrixpack.sh index 82964a1..dd4370c 100755 --- a/matrixpack.sh +++ b/matrixpack.sh @@ -44,10 +44,7 @@ if test $# -lt 3 ; then fi # Setting variables -dir=$(pwd) token=$1 -packname=${dir##*/} -slug=$(slugify "$packname") homeserver=$(slug_homeserver $2) # Checking if the homeserver exist. @@ -86,6 +83,9 @@ do # Changing directory to work directly in it cd "$i" + dir=$(pwd) + packname=${dir##*/} + slug=$(slugify "$packname") # Printing informations echo -e "Creating sticker pack : \033[94;1m$packname\033[0m\nhomeserver=\033[94m$homeserver\033[0m\noutput=\033[94m$slug\033[0m" -- GitLab