Advertisement
Guest User

Untitled

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