38a2f47cdc
Submitted by: Vivek Khera
8 lines
183 B
Bash
8 lines
183 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
for f in `find ${WRKSRC} -type f | xargs grep -l '\!\!PREFIX\!\!' ` ; do \
|
|
mv $f $f.orig && sed s+!!PREFIX!!+$PREFIX+g < $f.orig > $f && \
|
|
rm $f.orig
|
|
done
|