diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-04-04 14:45:04 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2019-04-04 14:45:16 +0200 |
commit | dea3de23c16589440fba6ffbe3486a3cc2018580 (patch) | |
tree | 7c270492c4e5d36bb2c15bea4161c548f2961078 | |
parent | e46b125af7b4ef76e478f1e434c2cfa3497d950f (diff) |
Fix no *dsc files found depending on osc version
Depending on the OSC version the build doesn't occur the same way nor
put the files in the same places. This solves that not assuming the *dsc
file is in the parent directory but somewhere in the parent directory.
Change-Id: Id72acd3842256f2b00966b34ab136df849bd9683
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r-- | conf.d/packaging/deb/debian.rules | 2 |
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 |