Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / tools / tesh / generate_tesh
index 23ec028..5306bf7 100755 (executable)
@@ -1,11 +1,11 @@
-#!/bin/sh
+#!/usr/bin/env sh
 # Generate a tesh file from a given command (simple case).
 
 command="$1"
 output=$(sh -c "$command" 2>&1)
 return=$?
 
-tesh="#! ./tesh
+tesh="#!/usr/bin/env tesh
 
 ! expect return $return
 $ $command