Commit f180220a authored by Nathalie Furmento's avatar Nathalie Furmento

scripts: add missing href

parent b0c42d7a
Pipeline #159505 passed with stages
in 1 minute and 22 seconds
......@@ -41,8 +41,8 @@ updateFileLinks()
do
echo "create redirect for $x"
case "$x" in
*pdf) for f in $(grep -rsl $x public) ; do sed -i 's;href="'$x'";"http://starpu.gforge.inria.fr'$x'";g' $f ; done ;;
*gz) for f in $(grep -rsl $x public) ; do sed -i 's;href="'$x'";"http://starpu.gforge.inria.fr'$x'";g' $f ; done ;;
*pdf) for f in $(grep -rsl $x public) ; do sed -i 's;href="'$x'";href="http://starpu.gforge.inria.fr'$x'";g' $f ; done ;;
*gz) for f in $(grep -rsl $x public) ; do sed -i 's;href="'$x'";href="http://starpu.gforge.inria.fr'$x'";g' $f ; done ;;
*/) createRedirectDir $x "http://starpu.gforge.inria.fr$x" ;;
*) mkdir -p public/$(dirname $x) && createRedirectFile $x "http://starpu.gforge.inria.fr$x" ;;
esac
......
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