diff --git a/tools/server-setup.sh b/tools/server-setup.sh index 9d5af4f..ebed4ce 100644 --- a/tools/server-setup.sh +++ b/tools/server-setup.sh @@ -24,10 +24,12 @@ set -e if [ -d "servers/$HOSTNAME/setup.d" ]; then echo "running server specific setup scripts..." - for s in servers/$HOSTNAME/setup.d/*; do - echo "running $s..." + cd servers/$HOSTNAME + for s in setup.d/*; do + echo "running (servers/$HOSTNAME/)$s..." sh $s done + cd - fi for s in tools/server-setup.d/*; do