summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-07-12 15:29:18 +0000
committerMikael Magnusson <mikma@users.sourceforge.net>2018-07-12 15:29:18 +0000
commit753f5fcc9c94d4bc8fb7dbb72662671ec41c61aa (patch)
tree7d9baf677a187846f3e690f0349532df77a25cbf
parente1503f26fbe8f7c20cb8f0b816f311beeb531944 (diff)
Add workaround for unsupported LC_TIME=C.UTF-8
Fixes: Building 18.06.0-rc1 does not work (Closes: GH-2)
-rwxr-xr-xbuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 93bc766..6f4d2aa 100755
--- a/build.sh
+++ b/build.sh
@@ -6,6 +6,9 @@ arch_lxd=x86_64
ver=17.01.4
dist=lede
+# Workaround for Debian/Ubuntu systems which use C.UTF-8 which is unsupported by OpenWrt
+export LC_TIME=C
+
usage() {
echo "Usage: $0 [-a|--arch <x86_64|i686>] [-v|--version <version>] [-p|--packages <packages>] [-f|--files] [--help]"
exit 1