From 369ecd99a517725bda6a20836c801111579f08b9 Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 22 Dec 2009 17:05:55 +0000 Subject: [PATCH 1/1] 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 --- buildtools/Cmake/Cmake/chdir_run.sh | 4 ---- buildtools/Cmake/chdir_run.sh | 8 ++++++++ 2 files changed, 8 insertions(+), 4 deletions(-) delete mode 100755 buildtools/Cmake/Cmake/chdir_run.sh create mode 100755 buildtools/Cmake/chdir_run.sh 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 "$@" -- 2.20.1