use OPKG_CMDS_PSA_FILE

This commit is contained in:
Gerhard Hoffmann 2022-06-04 22:08:01 +02:00
parent 21591d8e3d
commit 66511262e1

View File

@ -118,7 +118,7 @@ update_psa() {
# check if the opkg-command-file has been changed during 'git pull'
if grep -qE ".*opkg_commands.*?" <<< $changed_files; then
# read opkg_cmds: each line respresents an opkg-command
readarray opkg_commands < <(cat $opkg_cmds_file)
readarray opkg_commands < <(cat $OPKG_CMDS_PSA_FILE)
for opkg_c in "${opkg_commands[@]}"; do
if grep -qE "^\s*[#]+.*$" <<< $opkg_c; then
continue # found comment line