aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/packaging/deb/debian.rules
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/packaging/deb/debian.rules')
-rw-r--r--conf.d/packaging/deb/debian.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/packaging/deb/debian.rules b/conf.d/packaging/deb/debian.rules
index 8209cd9..01e9d95 100644
--- a/conf.d/packaging/deb/debian.rules
+++ b/conf.d/packaging/deb/debian.rules
@@ -2,7 +2,7 @@
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-export VERSION=$(shell grep -E "^Version" ../*dsc | sed -r 's/^.*: (.*)-.*/\1/')
+export VERSION=$(shell grep -E "^Version" $(shell find .. -name BUILD -prune -type d -o -name *dsc -print | head -n1) | sed -r 's/^.*: (.*)-.*/\1/')
%:
bash /etc/profile.d/AGL-app-framework-binder.sh