Skip to content

Commit

Permalink
Fixed eval bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xchoo committed Jun 24, 2021
1 parent a97fda6 commit 090e421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nengo_bones/templates/base_script.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exe() {
args[$i]='"'${args[$i]}'"'
fi
done
eval "eval '"${args[@]}"' || { echo -e "\033[1;31mCOMMAND '${args[0]}' FAILED\033[0m"; STATUS=1; }
eval "${args[@]}" || { echo -e "\033[1;31mCOMMAND '${args[0]}' FAILED\033[0m"; STATUS=1; }
}

if [[ ! -e {{ pkg_name }} ]]; then
Expand Down

0 comments on commit 090e421

Please sign in to comment.