summaryrefslogtreecommitdiffstats
path: root/devel/monodevelop/files/patch-theme-icons_icon-theme-installer
blob: c57a2fcde9c4f052842a8d4244c331ca5a2690c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

$FreeBSD$

--- theme-icons/icon-theme-installer.orig
+++ theme-icons/icon-theme-installer
@@ -101,12 +101,12 @@
 	exit 1
 fi
 
-if test ! -x $(echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' '); then
+if ! 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 ! 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
OpenPOWER on IntegriCloud