summaryrefslogtreecommitdiff
path: root/cad/lepton-eda/files/patch-build-tools_icon-theme-installer
diff options
context:
space:
mode:
Diffstat (limited to 'cad/lepton-eda/files/patch-build-tools_icon-theme-installer')
-rw-r--r--cad/lepton-eda/files/patch-build-tools_icon-theme-installer20
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/lepton-eda/files/patch-build-tools_icon-theme-installer b/cad/lepton-eda/files/patch-build-tools_icon-theme-installer
new file mode 100644
index 000000000000..db7baf233ded
--- /dev/null
+++ b/cad/lepton-eda/files/patch-build-tools_icon-theme-installer
@@ -0,0 +1,20 @@
+--- build-tools/icon-theme-installer.orig 2019-10-03 20:45:55 UTC
++++ build-tools/icon-theme-installer
+@@ -103,13 +103,13 @@ if test -z "$INSTALL_BASE_DIR"; then
+ exit 1
+ fi
+
+-if test ! -x `echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' '`; then
+- echo "Cannot find '$MKINSTALLDIRS_EXEC'; You probably want to pass -m \$(mkinstalldirs)"
++if test -z "$MKINSTALLDIRS_EXEC"; then
++ echo "\$MKINSTALLDIRS_EXEC is not set. Pass it with the -m command line option"
+ exit 1
+ fi
+
+-if test ! -x `echo "$INSTALL_DATA_EXEC" | cut -f1 -d' '`; then
+- echo "Cannot find '$INSTALL_DATA_EXEC'; You probably want to pass -x \$(INSTALL_DATA)"
++if test -z "$INSTALL_DATA_EXEC"; then
++ echo "\$INSTALL_DATA_EXEC' is not set. Pass it with the -x command line option"
+ exit 1
+ fi
+