Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
research-topics-mat-tuhh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Fabian Nuraddin Alexander Gabel
research-topics-mat-tuhh
Commits
0b7517f3
Commit
0b7517f3
authored
3 years ago
by
Fabian Nuraddin Alexander Gabel
Browse files
Options
Downloads
Patches
Plain Diff
add further commandline argument to preproc staff
parent
596ede0d
No related branches found
No related tags found
3 merge requests
!84
Draft: Resolve "create tests for new commandline arguments"
,
!83
Draft: Resolve "deliver css and javascript to www3"
,
!77
Resolve "tuhh-deployment"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/preproc_staff.sh
+10
-2
10 additions, 2 deletions
bin/preproc_staff.sh
with
10 additions
and
2 deletions
bin/preproc_staff.sh
+
10
−
2
View file @
0b7517f3
...
...
@@ -10,11 +10,19 @@ if [ $# -lt 2 ]
then
RESEARCH_BUILD
=
`
pwd
`
"/build"
echo
-e
"No building directory was specified."
elif
[
$#
-lt
3
]
then
RESEARCH_BUILD
=
"
$2
"
RESEARCH_STAFF
=
$RESEARCH_BUILD
echo
-e
"No staff directory was specified."
else
RESEARCH_BUILD
=
"
$2
"
RESEARCH_STAFF
=
"
$3
"
fi
mkdir
-p
$RESEARCH_BUILD
echo
-e
"Building into directory
$RESEARCH_BUILD
..."
mkdir
-p
$RESEARCH_STAFF
echo
-e
"Building into directory
$RESEARCH_BUILD
..."
# perform (inplace) replacement of keys
echo
-e
"Building into staff-directory
$RESEARCH_STAFF
..."
# only prepend titles with links
filename
=
$(
basename
--
"
$1
"
)
baseurl
=
'https://www.mat.tuhh.de'
...
...
@@ -63,7 +71,7 @@ do
if
[
$#
-gt
1
]
then
# append research to staffile
echo
-e
"
\n
$title
\n
"
>>
$RESEARCH_
BUILD
/
$name
.md
echo
-e
"
\n
$title
\n
"
>>
$RESEARCH_
STAFF
/
$name
.md
fi
done
...
...
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