use OPKG_CMDS_PSA_FILE
This commit is contained in:
parent
21591d8e3d
commit
66511262e1
@ -118,7 +118,7 @@ update_psa() {
|
|||||||
# check if the opkg-command-file has been changed during 'git pull'
|
# check if the opkg-command-file has been changed during 'git pull'
|
||||||
if grep -qE ".*opkg_commands.*?" <<< $changed_files; then
|
if grep -qE ".*opkg_commands.*?" <<< $changed_files; then
|
||||||
# read opkg_cmds: each line respresents an opkg-command
|
# 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
|
for opkg_c in "${opkg_commands[@]}"; do
|
||||||
if grep -qE "^\s*[#]+.*$" <<< $opkg_c; then
|
if grep -qE "^\s*[#]+.*$" <<< $opkg_c; then
|
||||||
continue # found comment line
|
continue # found comment line
|
||||||
|
Loading…
Reference in New Issue
Block a user