]> git.sur5r.net Git - openldap/commitdiff
Edit portable.nt to update OPENLDAP_VERSION
authorHoward Chu <hyc@openldap.org>
Wed, 19 Mar 2003 02:01:49 +0000 (02:01 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 19 Mar 2003 02:01:49 +0000 (02:01 +0000)
build/mkrelease

index 906a78ab8920145741974d4e3138be2a5fb069f0..968dd08ac8f1ee9b3e98799076fba632c5daff0d 100755 (executable)
@@ -44,6 +44,13 @@ fi
 
 . $RELNAME/build/version.sh
 
+# Update the version for NT
+ed $RELNAME/include/portable.nt <<EOF
+/OPENLDAP_VERSION
+s;".*";"$ol_version";
+wq
+EOF
+
 tar cf $RELNAME.tar $RELNAME
 gzip -9 -c $RELNAME.tar > $RELNAME.tgz
 md5 $RELNAME.tgz > $RELNAME.md5