updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kdebase-workspace-ggl / fixpath.patch
blobbe2b8383e563fa3721e46ed9b4ea926746a7c63d
1 --- startkde.cmake.orig 2009-01-15 14:24:44.000000000 +0100
2 +++ startkde.cmake 2009-01-15 14:33:08.000000000 +0100
3 @@ -34,22 +34,6 @@
4 MALLOC_CHECK_=2
5 export MALLOC_CHECK_
7 -# in case we have been started with full pathname spec without being in PATH
8 -bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'`
9 -if [ -n "$bindir" ]; then
10 - qbindir=`$bindir/kde4-config --qt-binaries`
11 - if [ -n "$qbindir" ]; then
12 - case $PATH in
13 - $qbindir|$qbindir:*|*:$qbindir|*:$qbindir:*) ;;
14 - *) PATH=$qbindir:$PATH; export PATH;;
15 - esac
16 - fi
17 - case $PATH in
18 - $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;;
19 - *) PATH=$bindir:$PATH; export PATH;;
20 - esac
21 -fi
23 # Boot sequence:
25 # kdeinit is used to fork off processes which improves memory usage
26 @@ -206,7 +190,7 @@
27 # For anything else (that doesn't set env vars, or that needs a window manager),
28 # better use the Autostart folder.
30 -libpath=`kde4-config --path lib | tr : '\n'`
31 +libpath=`kde4-config --path lib | tr : '\n'`$(echo -e '\n/etc/kde/lib/')
33 for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do
34 for file in "$prefix"*.sh; do