Commit a79f3b10 authored by Nathalie Furmento's avatar Nathalie Furmento
Browse files

scripts/createWebServer.sh: fix script

parent 987755dd
Pipeline #245003 passed with stages
in 1 minute and 17 seconds
......@@ -45,13 +45,13 @@ createRedirectDir()
createRedirect()
{
while read line
cat $dir/redirect.txt | grep -v '#' | while read line
do
src=$(echo $line | awk '{print $1}')
dst=$(echo $line | awk '{print $2}')
echo create redirect from $src to $dst
createRedirectDir $src $dst
done< $dir/redirect.txt | grep -v '#'
done
}
updateFileLink()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment