0026942: Training material are not built on OCCT installed after building by cmake...
[occt.git] / samples / qt / Tutorial / custom.sh
old mode 100644 (file)
new mode 100755 (executable)
index 4506c96..d970598
@@ -1,19 +1,4 @@
-#!/bin/sh
-
-#Define CASROOT and QTDIR variables in order to generate Makefile files by qmake
-
-export CASROOT=""
+#!/bin/bash
+#Define QTDIR variable
 
 export QTDIR=""
-
-if test "${CASROOT}" == ""; then
-   echo "Environment variable \"CASROOT\" not defined."
-   exit 1
-fi
-
-if test "${QTDIR}" == ""; then
-   echo "Environment variable \"QTDIR\" not defined."
-   exit 1
-fi
-
-export PATH=${QTDIR}/bin:${PATH}
\ No newline at end of file