linux: fix the \n handling

This commit is contained in:
Gregory Hainaut 2016-02-18 18:56:22 +01:00
parent f8c442cf76
commit 8637516565
1 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ head()
{
\rm -f $TEST
touch $TEST
echo "#version $GL_VERSION\n" >> $TEST
echo "#version $GL_VERSION" >> $TEST
}
tail()
@ -91,7 +91,7 @@ vertex_test()
{
head
echo "#define VERTEX_SHADER 1" >> $TEST
echo $MACRO >> $TEST
echo -e $MACRO >> $TEST
tail
echo "Vertex check with macro : $MACRO"
@ -103,9 +103,9 @@ fragment_test()
{
head
echo "#define FRAGMENT_SHADER 1" >> $TEST
echo "$MACRO" >> $TEST
echo -e "$MACRO" >> $TEST
echo "Fragment check with macro : "
echo "$MACRO"
echo -e "$MACRO"
tail
$FRAG $ENTRY $TEST