1 diff --git a/bin/ptxdist b/bin/ptxdist
2 index a47d968..9981582 100755
9 +export PATH=$(dirname $(readlink -f /usr/bin/ptxdist)):$PATH
11 declare -a PTXDIST_ARGS_FULL
12 declare -a PTXDIST_ARGS_SECOND PTX_MAKE_ARGS
13 diff --git a/scripts/ptxdist_version.sh b/scripts/ptxdist_version.sh
14 index 78736d0..759a061 100644
15 --- a/scripts/ptxdist_version.sh
16 +++ b/scripts/ptxdist_version.sh
20 PTXDIST_VERSION_FULL="$("${PTXDIST_TOPDIR:=.}/scripts/kernel/setlocalversion" "${PTXDIST_TOPDIR}/.tarball-version")"
21 + PTXDIST_VERSION_FULL=$(echo ${PTXDIST_VERSION_FULL} | sed -e 's/-dirty//g')
23 local orig_IFS="${IFS}"