Commit 1210c9f0 authored by remy.d1's avatar remy.d1
Browse files

title href sed fixed

parent 0dddd80b
......@@ -3,5 +3,5 @@
if [ -d $1 ];then
echo "replacing href link with kimura website"
title=`head -1 README.md | cut -d"#" -f2 |sed "s|^ ||g"`
find $1 -type f -print0 | xargs -0 sed -i "s|<a href=\"./\" >$title|<a href=\"http://cbi.isem.univ-montp2.fr\" target=\"_blank\" >$title|g"
find $1 -type f -regex ".*\.\(css\|html\)" -print0 | xargs -0 sed -i "s|<a href=\"./\" >$title|<a href=\"http://cbi.isem.univ-montp2.fr\" target=\"_blank\" >$title|g"
fi
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