Skip to content
This repository
Browse code

use /usr/bin/perl in the case that /usr/local/bin/perl does not exist

  • Loading branch information...
commit c1d306015f7f8bc604ff1aba49f90e0be85f959f 1 parent fb5eaf1
Jianing Yang authored March 19, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  scripts/build
2  scripts/build
... ...
@@ -1,6 +1,6 @@
1 1
 #!/bin/sh
2 2
 
3  
-if [ "$PERL" = "" ]; then
  3
+if [ ! -x "$PERL" ]; then
4 4
     PERL=/usr/bin/perl
5 5
 fi
6 6
 if [ "$PREFIX" = "" ]; then

0 notes on commit c1d3060

Please sign in to comment.
Something went wrong with that request. Please try again.