Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /usr/bin/toolsched.i 2017-09-26 12:19:46.741194987 -0400
- +++ toolsched-kuza.i 2017-09-26 13:01:10.595654212 -0400
- @@ -2 +2,2 @@
- -# toolsched.i v0.17 by Con Kolivas <kernel@kolivas.org>
- +# toolsched-kuza.i v0.17 by Con Kolivas <kernel@kolivas.org>
- +# kuza fork naively assumes its symlink IS NOT in path
- @@ -6 +7 @@
- - echo "Calling toolsched.i directly, aborting!"
- + echo "Calling toolsched-kuza.i directly, aborting!"
- @@ -8 +8,0 @@
- - echo "Make sure you only have one copy of toolsched in your PATH."
- @@ -14,2 +13,0 @@
- -# scriptcmd should resolve to this actual script
- -scriptcmd=`which $cmd 2>&1`
- @@ -18,7 +16 @@
- -for i in `which -a $cmd 2>&1`
- -do
- - if [[ $i != $scriptcmd ]]; then
- - command=$i;
- - break
- - fi
- -done
- +command=`which $cmd 2>&1`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement