mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
38a2f47cdc
Submitted by: Vivek Khera
9 lines
183 B
Bash
9 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
|