go to the right dir
[infrastructure.git] / omf / export-omf.sh
index a33eb01..2003228 100755 (executable)
@@ -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