summaryrefslogtreecommitdiff
path: root/sci-libs/opencascade/files/opencascade-7.8.0-tests.patch
blob: cf45ca5ce246b2e5db0d0179fe3b10668decf0bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Paul Zander <negril.nx+gentoo@gmail.com>

Fix test harness script

diff --git a/adm/templates/draw.sh b/adm/templates/draw.sh
index 02e6043..c7347e0 100755
--- a/adm/templates/draw.sh
+++ b/adm/templates/draw.sh
@@ -4,7 +4,8 @@ aCurrentPath="$PWD"
 aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; fi; aScriptPath="$PWD";
 
 source "${aScriptPath}/env.sh" "$1"
+shift
 
 echo 'Hint: use "pload ALL" command to load standard commands'
-cd ${aCurrentPath}
-DRAWEXE
+cd "${aCurrentPath}"
+DRAWEXE "$@"