summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
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