Index: kitsh/build.sh ================================================================== --- kitsh/build.sh +++ kitsh/build.sh @@ -170,11 +170,11 @@ if echo "${chkkittarget}" | egrep '\.(lib|def|a)$'; then continue fi - KITTARGET_NAME="${chkkittarget}" + KITTARGET_NAME="./${chkkittarget}" break done ## Also create an executable named "kit" so that we can run it later @@ -185,13 +185,13 @@ mv tclsh kit fi else ## The executable is always named "kit" if [ -f 'kit.exe' -a ! -f 'kit' ]; then - KITTARGET_NAME='kit.exe' + KITTARGET_NAME='./kit.exe' else - KITTARGET_NAME='kit' + KITTARGET_NAME='./kit' fi fi export KITTARGET_NAME if [ "${KITTARGET_NAME}" = '__error__' ]; then