#!/bin/bash thisfile=$(readlink -f "$0") thisdir=$(dirname "$thisfile") cd "$thisdir" || { echo "E: Could not change directory to '$thisdir'"; exit 1; } gladevcp_demo -u ./functionhandler.py ./button.ui