update orcli

This commit is contained in:
felixlohmeier 2022-10-20 21:11:02 +00:00
parent f1c37c947e
commit ed816860de
1 changed files with 1 additions and 5 deletions

6
orcli
View File

@ -930,13 +930,9 @@ orcli_run_command() {
) -i </dev/tty ) -i </dev/tty
else else
# case 3: just execute scripts # case 3: just execute scripts
export orcli
for i in "${!files[@]}"; do for i in "${!files[@]}"; do
log "execute script ${files[$i]}" log "execute script ${files[$i]}"
bash -e <( bash -e <(awk 1 "${files[$i]}")
echo "if [[ $orcli ]]; then alias orcli=$orcli; fi"
awk 1 "${files[$i]}"
)
done done
fi fi