diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -53,8 +53,17 @@ then apt-get update apt-get upgrade fi -apt --only-source build-dep $pkg -apt --only-source source $pkg + +# stretch needs --only-source (at least for rkward source packages), jessie +# does not know this argument +if [ $DIST == "jessie" ]; then + apt-get build-dep $pkg + apt-get source $pkg +fi +if [ $DIST == "stretch" ]; then + apt --only-source build-dep $pkg + apt --only-source source $pkg +fi # Move sources to $DIST directory to enable parallel builds mkdir -p $DIST |