diff options
author | rillig <rillig> | 2006-12-01 20:30:17 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-12-01 20:30:17 +0000 |
commit | 23fddc64fafc7a7e5dff4b674fa7bdbb5fc6ac99 (patch) | |
tree | e47371f3e3526d88951f506003ee4e3853861470 /net/torrentutils | |
parent | 34f1efc7ef8869bfc37691bedcc7478c18f58e0f (diff) | |
download | pkgsrc-23fddc64fafc7a7e5dff4b674fa7bdbb5fc6ac99.tar.gz |
Fixed "test ==".
Diffstat (limited to 'net/torrentutils')
-rw-r--r-- | net/torrentutils/distinfo | 3 | ||||
-rw-r--r-- | net/torrentutils/patches/patch-ab | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/torrentutils/distinfo b/net/torrentutils/distinfo index 91a77c67b8a..814a77e5b79 100644 --- a/net/torrentutils/distinfo +++ b/net/torrentutils/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 12:14:05 agc Exp $ +$NetBSD: distinfo,v 1.4 2006/12/01 20:30:17 rillig Exp $ SHA1 (torrentutils-0.3.0.tar.gz) = d9487551e5de128c31abe7fc404ec3a51d6a83a0 RMD160 (torrentutils-0.3.0.tar.gz) = bc6dde481113a0a37a1a60fd520c6c28debea34e Size (torrentutils-0.3.0.tar.gz) = 21697 bytes SHA1 (patch-aa) = 634e8f4e3a14f239731924a5aa5078f8cd78b8a6 +SHA1 (patch-ab) = 543d424cb131cdcbe17fb5091c3b7e826294de3c diff --git a/net/torrentutils/patches/patch-ab b/net/torrentutils/patches/patch-ab new file mode 100644 index 00000000000..b888c4e6519 --- /dev/null +++ b/net/torrentutils/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2006/12/01 20:30:18 rillig Exp $ + +--- defrag.in.orig 2003-10-12 14:13:16.000000000 +0200 ++++ defrag.in 2006-12-01 21:28:37.000000000 +0100 +@@ -35,7 +35,7 @@ defrag_file() { + if [ -f "$1" -a ! -L "$1" ]; then + for (( i=1; i < 100; i++)); do + if [ ! -L "$1.$i" -a ! -e "$1.$i" ]; then +- [ "$opt_verbose" == 1 ] && echo "$1" ++ [ "$opt_verbose" = 1 ] && echo "$1" + size1="`stat -c%s -- "$1"`" + if [ $? -ne 0 ]; then + echo >&2 "$1: stat failed, not defragging" |