diff options
Diffstat (limited to 'bin/updateConfig.sh')
| -rwxr-xr-x | bin/updateConfig.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/updateConfig.sh b/bin/updateConfig.sh index 05056c1..f1cd537 100755 --- a/bin/updateConfig.sh +++ b/bin/updateConfig.sh @@ -1,5 +1,9 @@ #!/bin/bash +# goto root dir (this script resides in src) +BASEDIR=`dirname $(readlink -f $0)` +cd ${BASEDIR}/../ + HOSTFILE=~/pssh.hosts if [ -f ${HOSTFILE} ]; then |
