[LEDE-DEV] [patch master 08/15] Use $(..) instead of legacy `..`

Oswald Buddenhagen oswald.buddenhagen at gmx.de
Sat Oct 1 01:54:42 PDT 2016


On Fri, Sep 30, 2016 at 10:02:22PM +0200, Jan-Tarek Butt wrote:
> diff --git a/scripts/deptest.sh b/scripts/deptest.sh
> -	for pkg in `cat tmp/.packagedeps  | grep CONFIG_PACKAGE | grep -v curdir | sed -e 's,.*[/=]\s*,,' | sort -u`; do
> +	for pkg in $(cat tmp/.packagedeps  | grep CONFIG_PACKAGE | grep -v curdir | sed -e 's,.*[/=]\s*,,' | sort -u); do
>
you should remove the excess space while you're at it.

> diff --git a/scripts/mkits.sh b/scripts/mkits.sh
> -	echo "Usage: `basename "$0"` -A arch -C comp -a addr -e entry" \
> +  echo "Usage: $(basename "$0") -A arch -C comp -a addr -e entry" \
>  		"-v version -k kernel [-D name -d dtb] -o its_file"
>  	echo -e "\t-A ==> set architecture to 'arch'"
>
indentation botch.




More information about the Lede-dev mailing list