updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / ptxdist-git / ptxdist-python2.diff
blob67a7340f6134b37e3ec49636b6c4b9227ce2a62e
1 diff --git a/bin/ptxdist b/bin/ptxdist
2 index a47d968..9981582 100755
3 --- a/bin/ptxdist
4 +++ b/bin/ptxdist
5 @@ -2,6 +2,7 @@
7 LANG=C
8 LC_ALL=POSIX
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
17 @@ -6,6 +6,7 @@
18 _ptxd_get_version()
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}"
24 local IFS="."