Message ID | 20230607200504.3810426-9-rs@ti.com |
---|---|
State | Superseded |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | Sacrifice your first born to the linter | expand |
diff --git a/oe-layertool-setup.sh b/oe-layertool-setup.sh index 6908fe2..b824114 100755 --- a/oe-layertool-setup.sh +++ b/oe-layertool-setup.sh @@ -803,7 +803,7 @@ EOM # Find if old DL_DIR was set if [ -e "$confdir/local.conf.bak" ] then - old_dldir=$(cat "$confdir/local.conf.bak" | grep -e "^DL_DIR =" | sed 's|DL_DIR = ||' | sed 's/"//g') + old_dldir=$(grep -e "^DL_DIR =" "$confdir/local.conf.bak" | sed 's|DL_DIR = ||' | sed 's/"//g') else old_dldir="$oebase/downloads" fi