freebsd-ports/sysutils/nitrogen/files/patch-data-icon-theme-installer
Rong-En Fan 61cbb12adc Nitrogen is a background browser and setter for X windows. It is written
in C++ using the gtkmm toolkit.

WWW: http://l3ib.org/nitrogen

PR:		ports/114282
Submitted by:	Jonathan Liu <Net147 at hotmail.com>
2007-07-31 02:29:50 +00:00

17 lines
640 B
Text

--- data/icon-theme-installer.orig Sun Dec 31 16:59:08 2006
+++ data/icon-theme-installer Tue Jul 3 21:45:35 2007
@@ -101,12 +101,12 @@
exit 1
fi
-if test ! -x $(echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' '); then
+if test ! -x $(which $(echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' ')); then
echo "Cannot find '$MKINSTALLDIRS_EXEC'; You probably want to pass -m \$(mkinstalldirs)"
exit 1
fi
-if test ! -x $(echo "$INSTALL_DATA_EXEC" | cut -f1 -d' '); then
+if test ! -x $(which $(echo "$INSTALL_DATA_EXEC" | cut -f1 -d' ')); then
echo "Cannot find '$INSTALL_DATA_EXEC'; You probably want to pass -x \$(INSTALL_DATA)"
exit 1
fi