Skip to content

Commit

Permalink
use eval & subshell
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Hiepler committed Aug 30, 2023
1 parent c866448 commit 01043f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap-plugins/run
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function rpi_run_on_first_boot() {
function rpi_run_on_bake() {
for cmd in "$@" ; do
log "running: \"${cmd}\""
"${cmd}" || error "${cmd}"
( eval "${cmd}" ) || error "${cmd}"
done
}

Expand Down

0 comments on commit 01043f1

Please sign in to comment.