diff options
author | tv <tv@pkgsrc.org> | 1998-07-16 23:41:34 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1998-07-16 23:41:34 +0000 |
commit | 02b8d9c8d61e02cede71e2a721b8a9462d00b674 (patch) | |
tree | 2678be5a1daf48916a4d9335d05b76ae5a33e06a /comms | |
parent | 86fa3c88b56482c41dd9398d474bb8a2f12e3ccb (diff) | |
download | pkgsrc-02b8d9c8d61e02cede71e2a721b8a9462d00b674.tar.gz |
Adapt rundf to work with the NetBSD df, not GNU df.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/fidogate/patches/patch-am | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/comms/fidogate/patches/patch-am b/comms/fidogate/patches/patch-am new file mode 100644 index 00000000000..3fa15047fca --- /dev/null +++ b/comms/fidogate/patches/patch-am @@ -0,0 +1,14 @@ +--- src/toss/rundf.sh.orig Thu Jul 16 19:31:38 1998 ++++ src/toss/rundf.sh Thu Jul 16 19:32:02 1998 +@@ -9,9 +9,9 @@ + # Usage: rundf dir ... + # + +-PATH=<BINDIR>:$PATH ++PATH=/usr/bin:/bin:$PATH + +-free=`df -P $* 2>/dev/null | \ ++free=`df -k $* 2>/dev/null | \ + awk '/^\/dev/ || /^[a-zA-Z0-9-]*:\// { print $4; }'` + + if [ -z "$free" ]; then |