Commit 2bd2359a authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Cleanup and fix bootstrap.

	* bootstrap: cleanup and fix.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3014 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 45505231
2008-12-09 Guillaume Lazzara <z@lrde.epita.fr>
Cleanup and fix bootstrap.
* bootstrap: cleanup and fix.
2008-12-08 Guillaume Lazzara <z@lrde.epita.fr>
Generate list of headers to be distributed.
......
......@@ -118,13 +118,11 @@ dist_headers ()
echo "generating headers.mk"
find mln -type f | sed -e 's/$/ \\/g' >> headers.mk
echo "backup last line"
last_line=`tail -n 1 headers.mk | sed -e 's/\\\//g'` # remove '\' in last line
echo "remove last line"
sed '$d' < headers.mk > headers.mk.tmp # remove last line
mv headers.mk.tmp headers.mk
echo "put back last line"
echo $last_line >> headers.mk # put the cleaned last line back.
cd -
}
# Failures do matter.
......
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