18775fea0e
ok pval@
11 lines
412 B
Plaintext
11 lines
412 B
Plaintext
$OpenBSD: patch-torev,v 1.2 2006/05/28 21:21:51 weingart Exp $
|
|
--- torev.orig Thu May 4 10:04:39 2006
|
|
+++ torev Thu May 4 10:05:46 2006
|
|
@@ -1,4 +1,5 @@
|
|
REVISION=`sed -e '/Revision/!D' -e 's/.*$Revision: 1.2 $.*/\1/' version.c`
|
|
sed -e s/pname/$name/g -e s/PNAME/$NAME/g \
|
|
-e "s%#LIBDIR#%$LIBDIR%g" \
|
|
- -e "s/#REVISION#/$REVISION/" $1
|
|
+ -e "s/#REVISION#/$REVISION/" \
|
|
+ -e "s@#LOCALBASE#@${LOCALBASE}@g" $1
|