Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
starpu
starpu.gitlabpages.inria.fr
Commits
29c040e0
Commit
29c040e0
authored
Jul 20, 2020
by
Nathalie Furmento
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create redirect pages
parent
53d01107
Pipeline
#158257
canceled with stage
in 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
scripts/createRedirect.sh
scripts/createRedirect.sh
+20
-0
scripts/redirect.txt
scripts/redirect.txt
+3
-0
No files found.
scripts/createRedirect.sh
0 → 100755
View file @
29c040e0
#!/bin/bash
dir
=
$(
dirname
$0
)
public
=
$dir
/..
while
read
line
do
src
=
$(
echo
$line
|
awk
'{print $1}'
)
dst
=
$(
echo
$line
|
awk
'{print $2}'
)
echo
create redirect from
$src
to
$dst
mkdir
-p
.public/
$src
(
cat
<<
EOF
<head>
<title>Page has moved!</title>
<meta http-equiv="Refresh" content="0; URL=
$dst
" />
</head>
EOF
)
>
.public/
$src
/index.html
done
<
$dir
/redirect.txt
scripts/redirect.txt
0 → 100644
View file @
29c040e0
/ComplexHPC-11 /tutorials/2011-ComplexHPC
/ComplexHPC-13 /tutorials/2013-ComplexHPC
/HPC-GA-2012 /tutorials/2012-HPC-GA
Write
Preview
Markdown
is supported
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