mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +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
|