From 887abacd3f25c673e0fed53aa60ee589bb00b6bd Mon Sep 17 00:00:00 2001 From: stranger Date: Tue, 17 Nov 2015 21:16:01 +0100 Subject: [PATCH] ability to distinguish between build for/on different distros --- build-in-docker.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-in-docker.bash b/build-in-docker.bash index ef6bd64..1e7c42a 100644 --- a/build-in-docker.bash +++ b/build-in-docker.bash @@ -18,7 +18,7 @@ D=$(unzip -l ball.zip | grep -Po '(?: 0\s*[0-9: -]+\s*)\K[a-z0-9_-]+/$') unzip ball.zip && cd $D -dch -v 1.9.99 "added agent forwarding patch" +dch -v 1.9.99~$(lsb_release -cs) "added agent forwarding patch" if [[ $(g++ --version | grep 4.9 | wc -l ) = 1 ]] ; then apt-get install -y g++-4.8