From: Thierry Parmentelat Date: Mon, 14 Jun 2010 15:29:13 +0000 (+0200) Subject: go to the right dir X-Git-Tag: foo~116 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d8a22084b608ce6d8388f3fb0001ee055d57dc17;p=infrastructure.git go to the right dir --- diff --git a/omf/export-omf.sh b/omf/export-omf.sh index a33eb01..2003228 100755 --- a/omf/export-omf.sh +++ b/omf/export-omf.sh @@ -1,7 +1,9 @@ #!/bin/bash # to be run on www.planet-lab.eu where the CERTH key was imported -DIR=/root/thierry +DIRNAME=$(dirname $0) + +cd $DIRNAME # refresh EXPORT and EXPORT.snip with the python script