1
0
Fork 0
mirror of https://gitlab.com/niansa/magicwrap.git synced 2025-03-06 20:48:30 +01:00

Fix error if no parameters aree passed to main.sh

This commit is contained in:
niansa 2019-07-20 16:51:05 +02:00
parent d1e65b4681
commit b18b5f01f9

View file

@ -2,7 +2,7 @@
#INIT
cd "$(dirname "${BASH_SOURCE[0]}")"
params="$(echo "$@" | sed 's|'"$1"'||1')"
params="$(echo "$@" | sed 's|'"$1"'||1' 2> /dev/null)"
#LIBRARY
. ./library.sh