summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-11-22 19:41:20 +0000
committerPádraig Brady <P@draigBrady.com>2016-11-22 20:10:24 +0000
commit812877bfcb34edbff1ba554555bd2ddb613a22cc (patch)
tree73274dd493c7d26bf183f38dca0cd732dde7b043 /bootstrap
parent1d46419fdea9ee80c5856e2839643c78e58b9867 (diff)
downloadcoreutils-812877bfcb34edbff1ba554555bd2ddb613a22cc.tar.xz
all: update gnulib submodule to latest
Also sync these copies with gnulib: * bootstrap: Sync missed part of AIX support. * tests/init.sh: Support compare_ on AIX.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap22
1 files changed, 11 insertions, 11 deletions
diff --git a/bootstrap b/bootstrap
index 1755d04eb..5d3c2898c 100755
--- a/bootstrap
+++ b/bootstrap
@@ -420,21 +420,21 @@ sort_ver() { # sort -V is not generally available
get_version_sed='
# Move version to start of line.
- s/.*[v ]\([0-9]\)/\1/
+s/.*[v ]\([0-9]\)/\1/
- # Skip lines that do not start with version.
- /^[0-9]/!d
+# Skip lines that do not start with version.
+/^[0-9]/!d
- # Remove characters after the version.
- s/[^.a-z0-9-].*//
+# Remove characters after the version.
+s/[^.a-z0-9-].*//
- # The first component must be digits only.
- s/^\([0-9]*\)[a-z-].*/\1/
+# The first component must be digits only.
+s/^\([0-9]*\)[a-z-].*/\1/
- #the following essentially does s/5.005/5.5/
- s/\.0*\([1-9]\)/.\1/g
- p
- q'
+#the following essentially does s/5.005/5.5/
+s/\.0*\([1-9]\)/.\1/g
+p
+q'
get_version() {
app=$1