2011-07-31 19:58:09 +02:00
|
|
|
$NetBSD: patch-aj,v 1.2 2011/07/31 17:58:09 jakllsch Exp $
|
2006-10-20 01:46:01 +02:00
|
|
|
|
2011-07-31 19:58:09 +02:00
|
|
|
--- scripts/portfolio.sh.orig 2004-08-02 23:16:20.000000000 +0000
|
|
|
|
+++ scripts/portfolio.sh
|
2006-10-20 01:46:01 +02:00
|
|
|
@@ -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
|