RosettaCodeData/Task/Program-name/Zkl/program-name-3.zkl

16 lines
484 B
Bash

#!/bin/sh
# A bash script to run zkl if you haven't jumped
# through all the Unix hoops to put the bits in the "right" places
# You can change zklRoot to your build directory,
# change the script name to "zkl" and put it in your bin path.
# You may need to chmod a+x <this script>
if [ -z $zklRoot ]; then
zklRoot=$HOME/ZKL
if [ ! -d $zklRoot ]; then
zklRoot=$HOME/Projects/ZKL
fi
fi
export zklRoot
#set -o noglob
LD_LIBRARY_PATH=$zklRoot/Lib $zklRoot/Bin/zkl "$@"