Permalink
Browse files

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

  • Loading branch information...
1 parent fb5eaf1 commit c1d306015f7f8bc604ff1aba49f90e0be85f959f @jianingy jianingy committed Mar 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/build
View
2 scripts/build
@@ -1,6 +1,6 @@
#!/bin/sh
-if [ "$PERL" = "" ]; then
+if [ ! -x "$PERL" ]; then
PERL=/usr/bin/perl
fi
if [ "$PREFIX" = "" ]; then

0 comments on commit c1d3060

Please sign in to comment.