diff options
Diffstat (limited to 'graphics/povray/patches/patch-aj')
-rw-r--r-- | graphics/povray/patches/patch-aj | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/graphics/povray/patches/patch-aj b/graphics/povray/patches/patch-aj new file mode 100644 index 00000000000..a05395fc185 --- /dev/null +++ b/graphics/povray/patches/patch-aj @@ -0,0 +1,34 @@ +$NetBSD: patch-aj,v 1.1 2006/10/19 23:46:01 rillig Exp $ + +--- scripts/portfolio.sh.orig 2004-08-03 01:16:20.000000000 +0200 ++++ scripts/portfolio.sh 2006-10-20 01:23:33.000000000 +0200 +@@ -56,10 +56,10 @@ case "$OPTIONS" in + ;; + esac + +-test "$1" == "-d" && SCENE_DIR="$2" +-test "$2" == "-d" && SCENE_DIR="$3" +-test "$3" == "-d" && SCENE_DIR="$4" +-test "$4" == "-d" && SCENE_DIR="$5" ++test "$1" = "-d" && SCENE_DIR="$2" ++test "$2" = "-d" && SCENE_DIR="$3" ++test "$3" = "-d" && SCENE_DIR="$4" ++test "$4" = "-d" && SCENE_DIR="$5" + + if [ -z "$SCENE_DIR" ] ; then + INSTALL_DIR="`install_dir`" +@@ -94,10 +94,10 @@ if [ -d "$SCENE_DIR/portfolio" ] ; then + SCENE_DIR="$SCENE_DIR/portfolio" + fi + +-test "$1" == "-o" && OUTPUT_DIR="$2" +-test "$2" == "-o" && OUTPUT_DIR="$3" +-test "$3" == "-o" && OUTPUT_DIR="$4" +-test "$4" == "-o" && OUTPUT_DIR="$5" ++test "$1" = "-o" && OUTPUT_DIR="$2" ++test "$2" = "-o" && OUTPUT_DIR="$3" ++test "$3" = "-o" && OUTPUT_DIR="$4" ++test "$4" = "-o" && OUTPUT_DIR="$5" + + if [ -z "$OUTPUT_DIR" ] ; then + if [ -w "$SCENE_DIR" ] ; then |