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
 
23
 
24
 my $bangs = {
24
 my $bangs = {
25
     pl   => `which perl`,
25
     pl   => `which perl`,
26
-    sh   => `which sh`,
26
+    sh   => '/bin/sh',
27
     py   => `which python`,
27
     py   => `which python`,
28
-    bash => `which bash`,
28
+    bash => '/bin/bash',
29
     sed  => `which sed`,
29
     sed  => `which sed`,
30
     bc   => `which bc`
30
     bc   => `which bc`
31
 };
31
 };