A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
[simgrid.git]
/
buildtools
/
Cmake
/
tesh.pl
diff --git
a/buildtools/Cmake/tesh.pl
b/buildtools/Cmake/tesh.pl
index
28296d6
..
a5b53c4
100755
(executable)
--- a/
buildtools/Cmake/tesh.pl
+++ b/
buildtools/Cmake/tesh.pl
@@
-32,6
+32,8
@@
else{
$OS = "WIN";
}
$OS = "WIN";
}
+print "OS: ".$OS."\n";
+
# make sure we received a tesh file
scalar @ARGV > 0 || die "Usage:\n tesh [*options*] *tesh_file*\n";
# make sure we received a tesh file
scalar @ARGV > 0 || die "Usage:\n tesh [*options*] *tesh_file*\n";
@@
-175,6
+177,8
@@
sub exec_cmd {
# cleanup the command line
if($OS eq "WIN"){
$cmd{'cmd'} =~ s/\${EXEEXT:=}/.exe/g;
# cleanup the command line
if($OS eq "WIN"){
$cmd{'cmd'} =~ s/\${EXEEXT:=}/.exe/g;
+ $cmd{'cmd'} =~ s/\${EXEEXT}/.exe/g;
+ $cmd{'cmd'} =~ s/\$EXEEXT/.exe/g;
}
else{
$cmd{'cmd'} =~ s/\${EXEEXT:=}//g;
}
else{
$cmd{'cmd'} =~ s/\${EXEEXT:=}//g;