update orcli
This commit is contained in:
parent
f1c37c947e
commit
ed816860de
6
orcli
6
orcli
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue