Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
update comm status BEFORE sending signals
[simgrid.git] / tools / tesh / generate_tesh
index 23ec02863e77c80263439ec978f21480cd7a5550..5306bf714b2f4139e1aacf14fff07eaa0ff36685 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