Browse Source

Use conservative paths to shell bins

Alois Mahdal 10 years ago
parent
commit
0c26d2e015
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      bin/mkexec

+ 2
- 2
bin/mkexec View File

@@ -23,9 +23,9 @@ my $type    = (defined nextarg() ? shift : guesstype $name);
23 23
 
24 24
 my $bangs = {
25 25
     pl   => `which perl`,
26
-    sh   => `which sh`,
26
+    sh   => '/bin/sh',
27 27
     py   => `which python`,
28
-    bash => `which bash`,
28
+    bash => '/bin/bash',
29 29
     sed  => `which sed`,
30 30
     bc   => `which bc`
31 31
 };