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