Skip to content
Snippets Groups Projects
Commit 8c2d617e authored by Albert Gräf's avatar Albert Gräf
Browse files

tar_em_up.sh: Allow the path and name of the dpkg-deb tool to be configured...

tar_em_up.sh: Allow the path and name of the dpkg-deb tool to be configured via the dpkg environment variable.
parent edb80827
No related branches found
No related tags found
1 merge request!562tar_em_up.sh: dpkg-deb configuration via environment variable
......@@ -106,6 +106,7 @@ do case $Option in
done
inst_dir=${inst_dir:-/usr/local}
dpkg=${dpkg:-/usr/bin/dpkg-deb}
# configure a light build if requested
if [ $light -gt 0 ]; then
......@@ -156,9 +157,9 @@ fi
# Automagically disable Debian packaging when the Debian packaging tools are
# not available.
if test $deb -gt 0 && test $pkg -gt 0 && ! test -x /usr/bin/dpkg-deb; then
if test $deb -gt 0 && test $pkg -gt 0 && ! test -x "$dpkg"; then
pkg=0;
echo "Debian toolchain unavailable, Debian packaging disabled"
echo "Debian toolchain unavailable, skipping Debian packaging"
fi
# Fetch the nw.js binary if we haven't already. We want to fetch it even
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment