diff options
author | tsarna <tsarna@pkgsrc.org> | 2000-12-18 23:33:32 +0000 |
---|---|---|
committer | tsarna <tsarna@pkgsrc.org> | 2000-12-18 23:33:32 +0000 |
commit | 9c6f948e85c25777905f4a07bac2718f07bbcce1 (patch) | |
tree | 2ea04df9cb3a2edd6937c8bc36c9f98be2fdbaeb /misc/ibutton-pdkit/scripts/post-patch | |
parent | feebf1f942bc9c61491f14e4e08d87f027c00b0d (diff) | |
download | pkgsrc-9c6f948e85c25777905f4a07bac2718f07bbcce1.tar.gz |
ibutton-pdkit from Damon Brodie in PR#11641
public domain kit for Dallas Semiconductor ibuttons
Diffstat (limited to 'misc/ibutton-pdkit/scripts/post-patch')
-rw-r--r-- | misc/ibutton-pdkit/scripts/post-patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/misc/ibutton-pdkit/scripts/post-patch b/misc/ibutton-pdkit/scripts/post-patch new file mode 100644 index 00000000000..97088ecbd20 --- /dev/null +++ b/misc/ibutton-pdkit/scripts/post-patch @@ -0,0 +1,21 @@ +#!/bin/sh +# +# $Id: post-patch,v 1.1.1.1 2000/12/18 23:33:32 tsarna Exp $ +# +# This script cleans out the pre-made binaries and patches the +# com port to /dev/tty00 + +cd ${WRKSRC} +make clean + +echo s@/dev/cua0@/dev/tty00@ > sedcmd +echo s@Linux DS2480@NetBSD DS2480@ >> sedcmd + +for file in `ls *.c` +do + sed -f sedcmd < $file > $file.new + rm $file + mv $file.new $file +done + +rm sedcmd |