summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-10-13 12:08:28 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-10-13 12:08:28 +0200
commit6622731ec3c64f875e0931c2ef885b14c00ac702 (patch)
tree6cc269a3e1ac4a64f0663685db57dd583ad06792
parentd7193c091501fad232bdbfb9ae65960ec6ac6229 (diff)
[pkg] workaround for MAKEFLAGS=w in dh
-rwxr-xr-xgui/build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/build.sh b/gui/build.sh
index 282a206..69474bd 100755
--- a/gui/build.sh
+++ b/gui/build.sh
@@ -32,6 +32,13 @@ then
TARGET=riseup-vpn
fi
+# XXX for some reason, MAKEFLAGS is set to "w"
+# by debhelper
+if [ "$MAKEFLAGS" == "w" ]
+then
+ MAKEFLAGS=
+fi
+
if [ "$XBUILD" == "$WIN64" ]
then
# TODO allow to override vars