Sha256: edd8e773515d15e46f301de4dbd319b167befef9c199e9fc6bc401b278e54ad5
Contents?: true
Size: 889 Bytes
Versions: 6
Compression:
Stored size: 889 Bytes
Contents
#!/bin/sh # Uncomment this line if you want to debug the script # set -x source_directory=$1 build_directory=$(pwd) # Check the requirements if test "x${QTDIR}x" == "xx"; then echo "QTDIR has to be set for the qtscriptgenerator to build!"; exit -1; fi echo "Installing the bindings" # Try to determine the QT_INSTALL_PLUGINS value QT_INSTALL_PLUGINS=$(qmake -query QT_INSTALL_PLUGINS) echo " - copying plugins/scripts to $QT_INSTALL_PLUGINS" for file in $( ls plugins/script ); do if test ! -e $QT_INSTALL_PLUGINS/script/$file -o $file -nt $QT_INSTALL_PLUGINS/script/$file; then echo "Installing $file" cp plugins/script/$file $QT_INSTALL_PLUGINS/script else echo "Skipping $file" fi done rc=$? if test $rc -ne 0; then echo "cp failed with error code: $rc" >&2; exit -1; fi echo "Bindings successfully installed" exit 0
Version data entries
6 entries across 6 versions & 1 rubygems