packages/multimedia/ushare/patches/100-configure_grep_fix.patch
nico 93c58686b3 add ushare package
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 11:23:41 +00:00

13 lines
442 B
Diff

diff -ruN ushare-1.1a-orig/configure ushare-1.1a/configure
--- ushare-1.1a-orig/configure 2007-12-09 14:03:36.000000000 +0100
+++ ushare-1.1a/configure 2008-04-19 22:48:35.000000000 +0200
@@ -130,7 +130,7 @@
var=$1
shift
for f in $@; do
- if eval echo \$$var | grep -qv -e "$f"; then
+ if eval echo \$$var | grep -qv -e "$(echo $f | sed -e 's|\.|\\\.|g')"; then
eval "$var=\"\$$var $f\""
fi
done