diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-01 19:19:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-01 19:19:07 -0600 |
commit | cf5706eb5adbe5858d87118d200e233abfa1271f (patch) | |
tree | 9c4da2dc3e403f2cdfa2cf8d632098a12fdad2e4 /kalyptus/findperl | |
parent | 795a0355a40293affc7164507e918440d4a828d6 (diff) | |
download | libtqt-perl-cf5706eb5adbe5858d87118d200e233abfa1271f.tar.gz libtqt-perl-cf5706eb5adbe5858d87118d200e233abfa1271f.zip |
Update embedded kalyptus installation
Diffstat (limited to 'kalyptus/findperl')
-rwxr-xr-x | kalyptus/findperl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kalyptus/findperl b/kalyptus/findperl new file mode 100755 index 0000000..451758d --- /dev/null +++ b/kalyptus/findperl @@ -0,0 +1,17 @@ +#!/bin/sh + +test -f perlbin && rm perlbin + +for p in `echo $PATH | tr ":" " "` +do + if [ -x $p/perl ] + then + if $p/perl -e 'require 5.000;' + then + echo $p/perl > perlbin + exit 0 + fi + fi + +done +exit 1 |