summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-02-22 14:27:47 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2018-02-22 14:27:47 +0100
commitd1bbed8fd5ec86002390288a4d2e00cc8bad7f40 (patch)
tree3f0ae8cbb346ed870a9207a51ca1c54f65d68104
parent03a7f2ef5bfc13b5fc708c8eebb06b8c309bc4e8 (diff)
Make dist configurable
-rwxr-xr-xbuild.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index d5f68c4..43b9200 100755
--- a/build.sh
+++ b/build.sh
@@ -7,9 +7,10 @@ arch_dash=`echo $arch | tr _ -`
ver=17.01.4
image=openwrt
name=openwrt
+dist=lede
-generic_rootfs=lede-${ver}-${arch_dash}-generic-rootfs.tar.gz
-lxc_tar=lede-${ver}-${arch_dash}-lxd.tar.gz
+generic_rootfs=${dist}-${ver}-${arch_dash}-generic-rootfs.tar.gz
+lxc_tar=${dist}-${ver}-${arch_dash}-lxd.tar.gz
metadata=metadata.yaml
build_tarball() {