File: uptime_w_path_fix.patch

package info (click to toggle)
hurd 1%3A0.9.git20250801-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 37,352 kB
  • sloc: ansic: 538,803; sh: 5,143; asm: 2,998; makefile: 2,303; perl: 589; pascal: 484; awk: 157
file content (16 lines) | stat: -rw-r--r-- 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Debian has a real /usr and uses w-hurd file name
---
 utils/uptime.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/utils/uptime.sh
+++ b/utils/uptime.sh
@@ -25,7 +25,7 @@
 USAGE="Usage: $0 [OPTION...]"
 DOC="Show system uptime, number of users, and load"
 
-W=${W-/bin/w}
+W=${W-/usr/bin/w-hurd}
 
 while :; do
   case "$1" in