Skip to content

Commit

Permalink
Don't introduce trailing whitespace in reference_elem.data unnecessar…
Browse files Browse the repository at this point in the history
…ily.
  • Loading branch information
jwpeterson committed Apr 27, 2014
1 parent ccbc337 commit 178eb8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/bin/generate_reference_elem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ for file in $filelist; do
#echo " "


echo "static const char* $elem_type = " >> $genfile
echo "static const char* $elem_type =" >> $genfile

#loop over each line in the file
while read p; do
echo "\"$p\\n\"" >> $genfile
done < $file
echo ";" >> $genfile
echo " " >> $genfile
echo " " >> $genfile
echo "" >> $genfile
echo "" >> $genfile

done

0 comments on commit 178eb8d

Please sign in to comment.