summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-09-20 10:40:09 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-09-20 10:40:09 (EDT)
commitbff1bcc740a412573ed874f8f61d2987c8eaa4f0 (patch)
tree0f2f31b8f23ca1afed44af0cbf60dd4455b75895
parentf3e814d82693046df974364e153fcc9cfc2629ce (diff)
build: Fix negation in sed character class
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 97296cd..e643fa0 100755
--- a/build
+++ b/build
@@ -8,7 +8,7 @@ version = $$(printf '%s\n' '$(OPK_SOURCE_VERSION)' | \
sed 's|\(^[0-9][0-9]*\.[0-9][0-9]*\).*$$|\1|')
dist_id = $$(printf '%s\n' "$${dist_name}" | tr '[A-Z]' '[a-z]' | \
- sed 's|[!a-z0-9_]|_|g')
+ sed 's|[^a-z0-9_]|_|g')
# Set the distribution name in dist-vars.sh, not here.
script = \