summaryrefslogtreecommitdiff
path: root/security/nss/pkg/solaris/Makefile-devl.com
diff options
context:
space:
mode:
authorchristophe.ravel.bugs%sun.com <devnull@localhost>2006-12-06 21:14:54 +0000
committerchristophe.ravel.bugs%sun.com <devnull@localhost>2006-12-06 21:14:54 +0000
commit82d29ca6263e0412f3e2847c58e27f7f770ef679 (patch)
treee809c0ebd8965e9fe35d863dddd256af516091b9 /security/nss/pkg/solaris/Makefile-devl.com
parentd153a3cfaa38f68776d4945a7514adfaeac47685 (diff)
downloadnss-hg-82d29ca6263e0412f3e2847c58e27f7f770ef679.tar.gz
Bugzilla 362857 Simplify the NSS version string definition.
r+ wtchang
Diffstat (limited to 'security/nss/pkg/solaris/Makefile-devl.com')
-rwxr-xr-xsecurity/nss/pkg/solaris/Makefile-devl.com4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/nss/pkg/solaris/Makefile-devl.com b/security/nss/pkg/solaris/Makefile-devl.com
index 5d28d5ffd..d7093b122 100755
--- a/security/nss/pkg/solaris/Makefile-devl.com
+++ b/security/nss/pkg/solaris/Makefile-devl.com
@@ -57,7 +57,9 @@ FILES = $(DATAFILES) pkginfo
PACKAGE = $(shell basename `pwd`)
-PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/nss/lib/nss/nss.h | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//')
+PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/nss/lib/nss/nss.h \
+ | head -1 \
+ | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//')
LN = /usr/bin/ln