Subject: CVS commit: pkgsrc/wm/windowmaker/patches
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 07/15/2001 11:46:00
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sun Jul 15 08:46:00 UTC 2001

Added Files:
	pkgsrc/wm/windowmaker/patches: patch-af

Log Message:
Fix several nonportable shell constructs:

	(1) [ doesn't understand ==; use = instead.
	(2) (( ... )) isn't valid /bin/sh; use [ ... ] instead.
	(3) ${foo:0:4} to get the first 4 letters of ${foo} isn't valid
	    /bin/sh, so use a loop to remove letters off the end until
	    only 4 letters remain.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 pkgsrc/wm/windowmaker/patches/patch-af

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.