openbsd-ports/x11/gnome/themes/patches/patch-common_mkiconlinks_sh
jasper 4a73bc7d31 - update gnome-themes to 2.24.1
- specify license version

feedback and ok ajacoutot@
2008-11-21 18:22:38 +00:00

13 lines
505 B
Plaintext

$OpenBSD: patch-common_mkiconlinks_sh,v 1.1 2008/11/21 18:22:38 jasper Exp $
--- common/mkiconlinks.sh.orig Fri Nov 14 18:31:18 2008
+++ common/mkiconlinks.sh Fri Nov 14 18:34:45 2008
@@ -16,7 +16,7 @@ read NEXTLINE
while [ ! -z "$NEXTLINE" ] ; do
# Skip lines beginning with '#'
- if [ ! "${NEXTLINE:0:1}" == '#' ]; then
+ if [ ! X"`echo ${NEXTLINE} | head -1`" = X'#' ]; then
#Extract first field, minus its trailing colon
ORIG_FILE=`echo $NEXTLINE | awk '/:/{print $1}' | sed -e 's/://'`