From: Adrian Schmutzler Date: Mon, 17 Aug 2020 21:23:37 +0000 (+0200) Subject: ltq-dsl-base: remove useless echos in lantiq_dsl.sh X-Git-Tag: v21.02.0-rc1~1853 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18ab496c3231731afbb3390b905f7498fd3488f8;p=thirdparty%2Fopenwrt.git ltq-dsl-base: remove useless echos in lantiq_dsl.sh The is no reason to catch the output by $() and then echo it again. Remove the useless echos. Signed-off-by: Adrian Schmutzler --- diff --git a/package/network/utils/ltq-dsl-base/Makefile b/package/network/utils/ltq-dsl-base/Makefile index 6b931f7abd0..e2cfc4004ca 100644 --- a/package/network/utils/ltq-dsl-base/Makefile +++ b/package/network/utils/ltq-dsl-base/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ltq-dsl-base -PKG_RELEASE:=1 +PKG_RELEASE:=2 include $(INCLUDE_DIR)/package.mk diff --git a/package/network/utils/ltq-dsl-base/files/lib/functions/lantiq_dsl.sh b/package/network/utils/ltq-dsl-base/files/lib/functions/lantiq_dsl.sh index 11b02fc4aa3..5842a7879f4 100755 --- a/package/network/utils/ltq-dsl-base/files/lib/functions/lantiq_dsl.sh +++ b/package/network/utils/ltq-dsl-base/files/lib/functions/lantiq_dsl.sh @@ -19,10 +19,10 @@ dsl_cmd() { ) } dsl_val() { - echo $(expr "$1" : '.*'$2'=\([-\.[:alnum:]]*\).*') + expr "$1" : '.*'$2'=\([-\.[:alnum:]]*\).*' } dsl_string() { - echo $(expr "$1" : '.*'$2'=(\([A-Z0-9,]*\))') + expr "$1" : '.*'$2'=(\([A-Z0-9,]*\))' } #