We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 002b730 commit 8c3eabeCopy full SHA for 8c3eabe
CMake/cdat_modules_extra/uvcdat.in
@@ -1,6 +1,4 @@
1
#!/bin/bash
2
-# source is not portable where as . is
3
-DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4
-INSTALL_PREFIX=`dirname ${DIR}`
5
-. $DIR/setup_runtime.sh
6
-python@PYVER@ $INSTALL_PREFIX/vistrails/vistrails/uvcdat.py "$@"
+# source is not portable whereas . is
+. "@CMAKE_INSTALL_PREFIX@/bin/setup_runtime.sh"
+python@PYVER@ "@CMAKE_INSTALL_PREFIX@/vistrails/vistrails/uvcdat.py" "$@"
0 commit comments