diff options
author | Jim Meyering <meyering@redhat.com> | 2009-11-29 14:04:09 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-11-29 14:04:09 +0100 |
commit | b92e0455e1c70437a3c0553abc103727553fe238 (patch) | |
tree | 1784d551987c125df4171b133ea8cd6d5f69e36f | |
parent | 3910144405500132150cf0fb835bfc1c0eeb2c83 (diff) | |
download | coreutils-b92e0455e1c70437a3c0553abc103727553fe238.tar.xz |
bootstrap: update from gnulib, for perl-5.11.x support
* bootstrap (get_version): Handle perl separately,
since perl-5.11's --version output is different.
-rwxr-xr-x | bootstrap | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -311,6 +311,13 @@ sort_ver() { # sort -V is not generally available get_version() { app=$1 + # perl 5.11's --version output does not fit the mold, + # handle perl as a special case. + if test "_$app" = _perl; then + perl -le 'print $]' || return 1 + return 0 + fi + $app --version >/dev/null 2>&1 || return 1 $app --version 2>&1 | |