patch-build-tools_icon-theme-installer 766 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-build-tools_icon-theme-installer,v 1.1.1.1 2010/04/11 22:22:40 edd Exp $
  2. Don't require an absolute path for the install command.
  3. --- build-tools/icon-theme-installer.orig Sun Apr 4 23:09:29 2010
  4. +++ build-tools/icon-theme-installer Sun Apr 4 23:10:06 2010
  5. @@ -103,12 +103,12 @@ if test -z "$INSTALL_BASE_DIR"; then
  6. exit 1
  7. fi
  8. -if test ! -x `echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' '`; then
  9. +if test -z "$MKINSTALLDIRS_EXEC"; then
  10. echo "Cannot find '$MKINSTALLDIRS_EXEC'; You probably want to pass -m \$(mkinstalldirs)"
  11. exit 1
  12. fi
  13. -if test ! -x `echo "$INSTALL_DATA_EXEC" | cut -f1 -d' '`; then
  14. +if test -z "$INSTALL_DATA_EXEC"; then
  15. echo "Cannot find '$INSTALL_DATA_EXEC'; You probably want to pass -x \$(INSTALL_DATA)"
  16. exit 1
  17. fi