summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-02-27 18:12:15 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2018-02-27 18:12:15 +0100
commit0c3c6661af9df0968665cdf5cbb9ded980da589e (patch)
treeafd2f2cd71c41a9d5bf11363ee3b3aab7237f9e2
parentf4a3c1b8c5d1a3ac1fdb4f8d71403d90dd6a7e24 (diff)
Fix description
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 0d1b270..a0814e0 100755
--- a/build.sh
+++ b/build.sh
@@ -129,7 +129,7 @@ build_tarball() {
build_metadata() {
local stat=`stat -c %Y $rootfs`
local date="`date -d \"@${stat}\" +%F`"
- local desc=$(tar xpf $rootfs ./etc/openwrt_release -O|grep DISTRIB_DESCRIPTION|cut -d '=' -f 2)
+ local desc="$(tar xpf $rootfs ./etc/openwrt_release -O|grep DISTRIB_DESCRIPTION|sed -e "s/.*='\(.*\)'/\1/")"
if test ${subarch} = generic; then
local arch_lxd=${arch}