Skip to content
Snippets Groups Projects
Commit 39c9e69e authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[dunecontrol] Fix variable name mixup in vcsetup option file parsing

parent a29299b4
No related branches found
No related tags found
No related merge requests found
...@@ -428,7 +428,7 @@ run_default_vcsetup() { ...@@ -428,7 +428,7 @@ run_default_vcsetup() {
if [ ! "x$COMMENT" = "x$REPLY" ]; then if [ ! "x$COMMENT" = "x$REPLY" ]; then
# parse line into an array first to catch obvious syntax errors # parse line into an array first to catch obvious syntax errors
# like 'option value; rm -rf /' # like 'option value; rm -rf /'
eval local GIT_OPTS=($REPLY) eval local GIT_ARGS=($REPLY)
git config "${GIT_ARGS[@]}" git config "${GIT_ARGS[@]}"
fi fi
done done
...@@ -445,7 +445,7 @@ run_default_vcsetup() { ...@@ -445,7 +445,7 @@ run_default_vcsetup() {
if [ ! "x$COMMENT" = "x$REPLY" ]; then if [ ! "x$COMMENT" = "x$REPLY" ]; then
# parse line into an array first to catch obvious syntax errors # parse line into an array first to catch obvious syntax errors
# like 'option value; rm -rf /' # like 'option value; rm -rf /'
eval local GIT_OPTS=($REPLY) eval local GIT_ARGS=($REPLY)
git config "${GIT_ARGS[@]}" git config "${GIT_ARGS[@]}"
fi fi
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment