sux-X11R6.patch 810 B

12345678910111213141516171819202122232425
  1. --- a/sux
  2. +++ b/sux
  3. @@ -229,10 +229,10 @@
  4. # Remove the old cookies. They may cause trouble if we transfer only one
  5. # cookie, e.g. an MIT cookie, and there's still a stale XDM cookie hanging
  6. # around.
  7. - export TERM="/usr/X11R6/bin/xauth -q remove $DISPLAY 2>/dev/null;"
  8. + export TERM="/usr/bin/xauth -q remove $DISPLAY 2>/dev/null;"
  9. if [ -n "$sux_unix_display" ]
  10. then
  11. - TERM="$TERM /usr/X11R6/bin/xauth -q remove $sux_unix_display;"
  12. + TERM="$TERM /usr/bin/xauth -q remove $sux_unix_display;"
  13. fi
  14. # Note that there may be more than one cookie to transfer, hence
  15. @@ -249,7 +249,7 @@
  16. sux_i=`expr $sux_i + 1`
  17. if [ $sux_i -eq 9 ]
  18. then
  19. - TERM="$TERM | /usr/X11R6/bin/xauth nmerge - ;"
  20. + TERM="$TERM | /usr/bin/xauth nmerge - ;"
  21. sux_i=0
  22. fi
  23. done