packages/multimedia/ushare/patches/100-configure_grep_fix.patch

13 lines
442 B
Diff
Raw Normal View History

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