Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
cb6952a2
Commit
cb6952a2
authored
2 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Improved username handling
parent
17c8376e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AuswertungKlausur/noten.sh
+22
-8
22 additions, 8 deletions
AuswertungKlausur/noten.sh
with
22 additions
and
8 deletions
AuswertungKlausur/noten.sh
+
22
−
8
View file @
cb6952a2
#!/bin/bash
# The original examination project skeleton
PROJECTREF
=
~/
GoikLectures/Klausuren
/Sd1/20
19summ
er/Exam
PROJECTREF
=
~/
Projects/Exam
/Sd1/20
22Wint
er/Exam
# File representative of archive integrity
SRCREPRESENT
=
src/main/java/de/hdm_stuttgart/mi/sd1/task
2/ChangeAmount
.java
SRCREPRESENT
=
src/main/java/de/hdm_stuttgart/mi/sd1/task
1/B_Backup
.java
# The executable jar archive containing unit tests
TESTJAR
=
sd1_20
19summ
er_exam-0.9-fat-tests.jar
TESTJAR
=
sd1_20
22wint
er_exam-0.9-fat-tests.jar
# Strings like e.g. "Aufgabe 2" referencing "Aufgabe 2: (30/50)"
declare
-a
MARKERS
=(
"Task 1"
"Task 2"
)
...
...
@@ -78,14 +78,28 @@ evaluateProject() {
echo
"-----------------------------------------------------"
uid
=
`
echo
$1
|
sed
-e
s/.zip//
`
grep
$uid
~/C/HdM/
tmp/bonusprojekte.csv
grep
$uid
~/C/HdM/
Auswertung/bonus.txt
echo
"+++++++++++++++++++++++++++++++++++++++++++++++++++++"
}
for
zip
in
"
$@
"
do
evaluateProject
$zip
done
ZIPFILECOUNT
=
`
ls
*
.zip 2> /dev/null|wc
-w
`
if
[
$ZIPFILECOUNT
-ne
1
]
;
then
echo
There are
$ZIPFILECOUNT
zip-files, should be 1, exiting
exit
fi
echo basename
$1
#ILIASFILEBASENAME=`basename $1 .zip`
#echo $ILIASFILEBASENAME
mv
*
.zip
$1
.zip
#for zip in "$@"
#do
evaluateProject
$1
.zip
#done
#end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment