openbsd-ports/x11/nitrogen/patches/patch-data_icon-theme-installer
jasper db56bd71d5 import nitrogen 1.5.1
Nitrogen is a background browser and setter for X windows. It is written
in C++ using the gtkmm toolkit. It can be used in two modes: browser and
recall.

ok landry@
2010-11-24 13:10:07 +00:00

25 lines
863 B
Plaintext

$OpenBSD: patch-data_icon-theme-installer,v 1.1.1.1 2010/11/24 13:10:07 jasper Exp $
--- data/icon-theme-installer.orig Sun Nov 21 20:06:30 2010
+++ data/icon-theme-installer Sun Nov 21 20:07:11 2010
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# icon-theme-installer
# Copyright (C) 2006 Novell, Inc.
@@ -101,12 +101,12 @@ if test -z "$INSTALL_BASE_DIR"; then
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