opencascade-7.8.0-tests.patch 539 B

1234567891011121314151617181920
  1. From: Paul Zander <negril.nx+gentoo@gmail.com>
  2. Fix test harness script
  3. diff --git a/adm/templates/draw.sh b/adm/templates/draw.sh
  4. index 02e6043..c7347e0 100755
  5. --- a/adm/templates/draw.sh
  6. +++ b/adm/templates/draw.sh
  7. @@ -4,7 +4,8 @@ aCurrentPath="$PWD"
  8. aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; fi; aScriptPath="$PWD";
  9. source "${aScriptPath}/env.sh" "$1"
  10. +shift
  11. echo 'Hint: use "pload ALL" command to load standard commands'
  12. -cd ${aCurrentPath}
  13. -DRAWEXE
  14. +cd "${aCurrentPath}"
  15. +DRAWEXE "$@"