Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Olivier
Peer-graded student exercises
Commits
d5c7568f
Commit
d5c7568f
authored
Aug 15, 2019
by
Olivier
Browse files
M11: better handling of different assignment suffixes
parent
87297300
Changes
1
Hide whitespace changes
Inline
Side-by-side
M11_generate_graded/create_graded_pdfs.sh
View file @
d5c7568f
#!/bin/bash
# Assignment suffix
ASSGTSUFFIX
=
'example'
# Input parameters
inputfolder
=
'script_input'
outputfolder
=
'script_output'
...
...
@@ -23,7 +26,7 @@ for submissionpdf in submissions/*.pdf; do
echo
"#"
echo
"building assignment PDF for
$IDA
…"
mv
-v
solutions/solution
*
_
$IDA
.pdf ./solution.pdf
mv
-v
solutions/solution
_graded_
$ASSGTSUFFIX
_$IDA
.pdf ./solution.pdf
mv
-v
submissions/
$IDA
.pdf ./submission.pdf
# Concatenate all three PDFs that we have together now
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment