summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/build b/build
index 800c86a..1e84502 100755
--- a/build
+++ b/build
@@ -54,17 +54,9 @@ then
apt-get upgrade
fi
-# 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
-
+# stretch needs --only-source (at least for rkward source packages)
+apt --only-source build-dep $pkg
+apt --only-source source $pkg
# Move sources to $DIST directory to enable parallel builds
mkdir -p $DIST

Contact - Imprint