summaryrefslogtreecommitdiff
path: root/bootstrap/mkbinarykit
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-04-11 14:35:48 +0000
committerjoerg <joerg@pkgsrc.org>2006-04-11 14:35:48 +0000
commitf860aa0fbbaa133ec8341fdb111c178ac8f904a0 (patch)
tree3ccd5de3f33dee73b149414961d8e83b15c3f60b /bootstrap/mkbinarykit
parent82136ee63dd21a93ecff37a5572eb5aff78a7a60 (diff)
downloadpkgsrc-f860aa0fbbaa133ec8341fdb111c178ac8f904a0.tar.gz
Don't use the carat (^) in class matches, as it is not supported by
some shells. Use precendency order instead. Should fix PR 33236.
Diffstat (limited to 'bootstrap/mkbinarykit')
-rwxr-xr-xbootstrap/mkbinarykit6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap/mkbinarykit b/bootstrap/mkbinarykit
index 54a69f89656..4613480da43 100755
--- a/bootstrap/mkbinarykit
+++ b/bootstrap/mkbinarykit
@@ -1,6 +1,6 @@
#!/bin/sh
-# $NetBSD: mkbinarykit,v 1.14 2006/04/10 18:29:24 joerg Exp $
+# $NetBSD: mkbinarykit,v 1.15 2006/04/11 14:35:48 joerg Exp $
#
# Make a binary bootstrap kit and place it in targetdir (or current
# working directory if not specified). The mk.conf.example file is
@@ -41,7 +41,9 @@ AIX)
;;
DragonFly)
case "$osrev" in
- 1.0* | 1.1 | 1.1[^0-9]* | 1.2.* | 1.3.*)
+ 1.1[0-9]*)
+ ;;
+ 1.0* | 1.1 | 1.2.* | 1.3.*)
# Don't use the ports /var/db/pkg
pkgdbdir=$prefix/pkgdb
;;