diff --git a/templates/packagebuild.xml b/templates/packagebuild.xml index 0c9fd77..4f37661 100644 --- a/templates/packagebuild.xml +++ b/templates/packagebuild.xml @@ -41,7 +41,7 @@ git clone {{ UPSTREAM_URL }} upstream; - export DATE="$(head -1 {{ NAME }}/debian/changelog | sed -n '/(/,/)/{:a; $!N; /)/!{$!ba}; s/.*(\([^)]*\)).*/\1/p}' | cut -d '-' -f1)+git$(date +'%Y%m%d%H%M')"; + export DATE="$(head -1 debian/changelog | sed -n '/(/,/)/{:a; $!N; /)/!{$!ba}; s/.*(\([^)]*\)).*/\1/p}' | cut -d '-' -f1)+git$(date +'%Y%m%d%H%M')"; echo $DATE