Skip to content
Snippets Groups Projects
Commit f1b77daf authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'fix/moduleutilscripts' into 'master'

[moduleutil] Copy files from last release

See merge request !735
parents a544d0ae c0091457
No related branches found
No related tags found
1 merge request!735[moduleutil] Copy files from last release
......@@ -389,7 +389,12 @@ for MOD in $DEPENDING_MODULE_NAMES
do
if [ $MOD != $MODULE_NAME ]; then
MODULE_DIR=${MOD%*/}
getVersionGit $MODULE_DIR $(pwd)/$MODULE_NAME/install$MODULE_NAME.sh >>$MODULE_NAME/$README_FILE
getVersionGit $MODULE_DIR $(pwd)/$MODULE_NAME/install$MODULE_NAME.sh | tee -a $MODULE_NAME/$README_FILE
grep "Error:" $MODULE_NAME/$README_FILE > /dev/null
EXIT_CODE=$?
if [[ $EXIT_CODE == 0 ]]; then
exit
fi
fi
done
......
......@@ -7,7 +7,7 @@
# (c) 2016 Christoph Grüninger
#
if [ "${args[1]}" = "-h" ]; then
if [ "$1" = "-h" ]; then
echo "USAGE: ./getDumuxDuneVersions.sh"
echo; exit
fi
......@@ -83,9 +83,9 @@ function getVersionGit
cd ..
}
# run script from comand line
# run script from command line
# suppressed for use of external script when variable set accordingly
if [ "$CALL_FROM_EXTERNAL_SCRIPT" == "no" ]; then
if [ "$CALL_FROM_EXTERNAL_SCRIPT" != "yes" ]; then
echo "# DUNE/DUMUX VERSIONS" > $OUTFILE
echo "Creating file containing the version numbers:"
......
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