diff options
author | tv <tv> | 1998-07-16 23:41:34 +0000 |
---|---|---|
committer | tv <tv> | 1998-07-16 23:41:34 +0000 |
commit | 39769013491ef22e7c0d984f1b19332331e856d6 (patch) | |
tree | 2678be5a1daf48916a4d9335d05b76ae5a33e06a | |
parent | f3d967ffe21a6030b1d3400a9af90f928768ebe2 (diff) | |
download | pkgsrc-39769013491ef22e7c0d984f1b19332331e856d6.tar.gz |
Adapt rundf to work with the NetBSD df, not GNU df.
-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 |