go to the right dir
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 14 Jun 2010 15:29:13 +0000 (17:29 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 14 Jun 2010 15:29:13 +0000 (17:29 +0200)
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