You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/cw/files/1.0.16-path.patch

18 lines
479 B

--- a/bin/colorcfg
+++ b/bin/colorcfg
@@ -10,13 +10,7 @@ echo "[ cw/color wrapper: user setup script. ]"
if test -x "${HOME}/.cw/bin/colorcfg";then
CWLIB="${HOME}/.cw/def"
else
- SED="`which sed 2>/dev/null`"
- if test -z "$SED";then
- CWLIB="/usr/local/lib/cw"
- echo "(NOTE: using static cw library path, this could be invalid)"
- else
- CWLIB="`echo \"$0/lib/cw\"|sed \"s/\/bin\/colorcfg//g\"`"
- fi
+ CWLIB="/usr/libexec/cw"
fi
echo "[ cw library path: $CWLIB ]"