[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] bootstrap: allow a project name to have hyphen(s)
From: |
Sami Kerola |
Subject: |
[PATCH] bootstrap: allow a project name to have hyphen(s) |
Date: |
Sat, 11 May 2013 20:42:14 +0100 |
* build-aux/bootstrap (error): a project using gnulib may have
hyphen(s) in project name, which, if not converted to underscore(s),
will break build.
---
build-aux/bootstrap | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index 0cbea66..2a27e3b 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
# Print a version string.
-scriptversion=2013-05-08.20; # UTC
+scriptversion=2013-05-11.20; # UTC
# Bootstrap this package from checked-out sources.
@@ -153,6 +153,7 @@ extract_package_name='
}
s/[],)].*//
s/^GNU //
+ s/-/_/g
y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
s/[^abcdefghijklmnopqrstuvwxyz0123456789_]/-/g
p
--
1.8.2.3
- [PATCH] bootstrap: allow a project name to have hyphen(s),
Sami Kerola <=