Skip to content
Snippets Groups Projects
Commit 113ad641 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

...

parent 31e7d733
No related branches found
No related tags found
No related merge requests found
...@@ -36,9 +36,7 @@ function doIt { ...@@ -36,9 +36,7 @@ function doIt {
echo "End: ************** $1 **************" echo "End: ************** $1 **************"
} }
if [[ $(basename $PWD) == "relayServer" ]]; then if [[ $(basename $PWD) != "relayServer" ]]; then
source="$PWD"
else
echo "Error: You have to be in the relayServer directory" echo "Error: You have to be in the relayServer directory"
exit 1 exit 1
fi fi
...@@ -51,7 +49,7 @@ else ...@@ -51,7 +49,7 @@ else
fi fi
for i in $server; do for i in $server; do
doIt $i "$source" doIt $i "$PWD"
done done
exit exit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment