diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-27 18:12:15 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-27 18:12:15 +0100 |
commit | 0c3c6661af9df0968665cdf5cbb9ded980da589e (patch) | |
tree | afd2f2cd71c41a9d5bf11363ee3b3aab7237f9e2 | |
parent | f4a3c1b8c5d1a3ac1fdb4f8d71403d90dd6a7e24 (diff) |
Fix description
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} |