diff options
author | rillig <rillig> | 2006-10-07 07:57:58 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-10-07 07:57:58 +0000 |
commit | 48cb36147e3bbaab1ba6f4daf4b2b11ab749c173 (patch) | |
tree | f7c39494929b9ab98a76fca9cde47e768db6a76a /lang/python23/patches | |
parent | 06bce68c385dc3fec12c76a7e16b55c10e91d71a (diff) | |
download | pkgsrc-48cb36147e3bbaab1ba6f4daf4b2b11ab749c173.tar.gz |
Fixed "test ==" and $RANDOM.
Diffstat (limited to 'lang/python23/patches')
-rw-r--r-- | lang/python23/patches/patch-ed | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lang/python23/patches/patch-ed b/lang/python23/patches/patch-ed new file mode 100644 index 00000000000..5da863b86e6 --- /dev/null +++ b/lang/python23/patches/patch-ed @@ -0,0 +1,30 @@ +$NetBSD: patch-ed,v 1.1 2006/10/07 07:57:58 rillig Exp $ + +--- Tools/faqwiz/move-faqwiz.sh.orig 2002-03-18 09:56:23.000000000 +0100 ++++ Tools/faqwiz/move-faqwiz.sh 2006-10-07 09:29:25.000000000 +0200 +@@ -9,13 +9,13 @@ + # blackjesus:~> ./move-faqwiz.sh 2\.1 3\.2 + # Moving FAQ question 02.001 to 03.002 + +-if [ x$2 == x ]; then +- echo "Need 2 args: original_version final_version." ++if [ $# -ne 2 ]; then ++ echo "Need 2 args: original_version final_version." 1>&2 + exit 2 + fi + + if [ ! -d data -o ! -d data/RCS ]; then +- echo "Run this inside the faqwiz data/ directory's parent dir." ++ echo "Run this inside the faqwiz data/ directory's parent dir." 1>&2 + exit 2 + fi + +@@ -28,7 +28,7 @@ cut_n_pad $1 1 prefix1 + cut_n_pad $1 2 suffix1 + cut_n_pad $2 1 prefix2 + cut_n_pad $2 2 suffix2 +-tmpfile=tmp$RANDOM.tmp ++tmpfile=tmp$$.tmp + file1=faq$prefix1.$suffix1.htp + file2=faq$prefix2.$suffix2.htp + |