Skip to content

Commit

Permalink
Move files to correct directory
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17647 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 10, 2013
1 parent eb23e31 commit 29ba71f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/LibraryTest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ HISTORY="$WWW/history"
"$OMHOME/bin/omc" ++v

rm -rf "$WORKDIR"
mkdir -p "$WORKDIR" "$WWW" "$HISTORY"
mkdir -p "$WORKDIR" "$WWW/$LIB_NAME" "$HISTORY"
cd "$WORKDIR"

sed "s/^libraryVersion:=\"default\";/libraryVersion:=\"$LIB_VERSION\";/" "$TESTMODELS/BuildModelRecursive.mos" | sed "s/library:=.*/library:=\$TypeName($LIB_NAME);/" > BuildModelRecursive.mos
"$OMHOME/bin/omc" +g=MetaModelica BuildModelRecursive.mos

shopt -s nullglob
rm -f "$WWW"/*.sim "$WWW"/*.err
cp BuildModelRecursive.html *.sim *.err "$WWW"
cp BuildModelRecursive.html *.sim *.err "$WWW/$LIB_NAME/"
cp BuildModelRecursive.html "$HISTORY"/`date +${LIB_NAME}-%Y-%m-%d.html`
bash -e "$TESTMODELS/PlotLibraryTrend.sh" "$HISTORY" "$LIB_NAME"

0 comments on commit 29ba71f

Please sign in to comment.