#Author: Barry deFreese <bdefreese@debian.org>
#Description: Replaces echo -e with printf in clanlib scripts.
Index: pingus-0.7.2/contrib/clanlib_make_datafile.sh
===================================================================
--- pingus-0.7.2.orig/contrib/clanlib_make_datafile.sh	2009-05-26 11:48:28.000000000 -0400
+++ pingus-0.7.2/contrib/clanlib_make_datafile.sh	2009-05-26 11:51:56.000000000 -0400
@@ -23,9 +23,9 @@
     #echo "Datafile line:"
 
     if [ "$type" = "PCX (ZSoft IBM PC Paintbrush)" ]; then 
-	echo -e "\t$name = $filename (type=surface, x=0, y=0, width=$width, height=$height, tcol=0);"
+	printf "\t%s = %s (type=surface, x=0, y=0, width=%d, height=%s, tcol=0);" "$name" "$filename" "$width" "&height"
     else
-	echo -e "\t$name = $filename (type=surface, x=0, y=0, width=$width, height=$height);"
+	printf "\t%s = %s (type=surface, x=0, y=0, width=%d, height=%d);" "&name" "&filename" "&width" "&height"
     fi
 
 done
Index: pingus-0.7.2/doc/clanlib_make_datafile.sh
===================================================================
--- pingus-0.7.2.orig/doc/clanlib_make_datafile.sh	2009-05-26 11:52:14.000000000 -0400
+++ pingus-0.7.2/doc/clanlib_make_datafile.sh	2009-05-26 11:54:04.000000000 -0400
@@ -23,9 +23,10 @@
     #echo "Datafile line:"
 
     if [ "$type" = "PCX (ZSoft IBM PC Paintbrush)" ]; then 
-	echo -e "\t$name = $filename (type=surface, x=0, y=0, width=$width, height=$height, tcol=0);"
+	printf "\t%s = %s (type=surface, x=0, y=0, width=%d, height=%d, tcol=0);" "$name" "$filename" "&width" "&height"
     else
 	echo -e "\t$name = $filename (type=surface, x=0, y=0, width=$width, height=$height);"
+	printf "\t%s = %s (type=surface, x=0, y=0, width=%d, height=%d);" "$name" "$filename" "&width" "&height"
     fi
 
 done
