Skip to content
Snippets Groups Projects
Commit 72f8bfae authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[dunecontrol] Check less often the version for module dependencies

Similar to update, status, svn, git, exec, and bexec skip the check
whether the versions for dependencies are fulfilled.
parent 834b14c0
No related branches found
No related tags found
1 merge request!28[dunecontrol] Check less often the version for module dependencies
......@@ -332,6 +332,9 @@ esac'
# list of all dunecontrol commands
COMMANDS="printdeps vcsetup update autogen configure make all exec bexec status svn git"
# list of dunecontrol commands for which the version check is skipped by default
COMMANDSTOSKIPVERSIONCHECK="update status svn git exec bexec"
# help string for the commands
printdeps_HELP="print recursive dependencies of a module"
vcsetup_HELP="setup version control repository (Git etc.) or working copy (SVN)"
......@@ -1300,7 +1303,10 @@ EOF
fi
fi
set -e
if test "$1" = "update"; then export SKIPVERSIONCHECK=yes; fi
# skip version check if command is in according list
if grep -q "$1" <<<"$COMMANDSTOSKIPVERSIONCHECK" ; then
export SKIPVERSIONCHECK=yes;
fi
check_commands "$@"
create_module_list
NAMES=""
......
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