Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This file is mandatory for ctest to run
[simgrid.git] / buildtools / Cmake / chdir_run.sh
diff --git a/buildtools/Cmake/chdir_run.sh b/buildtools/Cmake/chdir_run.sh
new file mode 100755 (executable)
index 0000000..9a44da2
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+# This script goes to the directory specified as first argument, and executes the rest of its arguments
+# It ought to be a solution to specify the PWD of commands in CTest, but I didn't find it yet
+
+
+cd $1
+shift
+exec "$@"