diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-09-10 13:24:18 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-09-10 13:24:18 +1000 |
commit | f376669328e6df2dc78936786787150d98a1df80 (patch) | |
tree | 272a8041a86fce9142e900f977b2bc9a6d3f40f5 /contrib/aix | |
parent | 733a292c1125b070a2e49e3e514912460966a03e (diff) |
- (dtucker) [contrib/aix/buildbff.sh] Ensure that perl is available.
Diffstat (limited to 'contrib/aix')
-rwxr-xr-x | contrib/aix/buildbff.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/aix/buildbff.sh b/contrib/aix/buildbff.sh index 03f0d6048..97a7cbbba 100755 --- a/contrib/aix/buildbff.sh +++ b/contrib/aix/buildbff.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # buildbff.sh: Create AIX SMIT-installable OpenSSH packages | 3 | # buildbff.sh: Create AIX SMIT-installable OpenSSH packages |
4 | # $Id: buildbff.sh,v 1.9 2006/09/09 10:34:15 dtucker Exp $ | 4 | # $Id: buildbff.sh,v 1.10 2006/09/10 03:24:19 dtucker Exp $ |
5 | # | 5 | # |
6 | # Author: Darren Tucker (dtucker at zip dot com dot au) | 6 | # Author: Darren Tucker (dtucker at zip dot com dot au) |
7 | # This file is placed in the public domain and comes with absolutely | 7 | # This file is placed in the public domain and comes with absolutely |
@@ -23,6 +23,8 @@ umask 022 | |||
23 | 23 | ||
24 | startdir=`pwd` | 24 | startdir=`pwd` |
25 | 25 | ||
26 | perl -v >/dev/null || (echo perl required; exit 1) | ||
27 | |||
26 | # Path to inventory.sh: same place as buildbff.sh | 28 | # Path to inventory.sh: same place as buildbff.sh |
27 | if echo $0 | egrep '^/' | 29 | if echo $0 | egrep '^/' |
28 | then | 30 | then |