From: mquinson Date: Tue, 22 Dec 2009 17:05:55 +0000 (+0000) Subject: This file is mandatory for ctest to run X-Git-Tag: SVN~803 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/369ecd99a517725bda6a20836c801111579f08b9?hp=8877aa618f22ba7e1faa2dd225acc0b3fbde76e3 This file is mandatory for ctest to run git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6923 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/Cmake/Cmake/chdir_run.sh b/buildtools/Cmake/Cmake/chdir_run.sh deleted file mode 100755 index 7c81fbb42d..0000000000 --- a/buildtools/Cmake/Cmake/chdir_run.sh +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/sh -cd $1 -shift -exec "$@" diff --git a/buildtools/Cmake/chdir_run.sh b/buildtools/Cmake/chdir_run.sh new file mode 100755 index 0000000000..9a44da24b0 --- /dev/null +++ b/buildtools/Cmake/chdir_run.sh @@ -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 "$@"