]> xenbits.xensource.com Git - libvirt.git/commitdiff
Use printf instead of echo -e in libvirt.spec.in
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 26 May 2010 21:06:09 +0000 (23:06 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 26 May 2010 23:11:15 +0000 (01:11 +0200)
make rpm created dummy tests containing '-e #!/bin/sh' for me.

libvirt.spec.in

index 20ccfda025ff990127d2040f4caf3a1273ba698f..b8bd9ab60ea508bbe2cfb806dd61d9269151f523 100644 (file)
@@ -658,7 +658,7 @@ cd tests
 for i in nodeinfotest daemon-conf seclabeltest
 do
   rm -f $i
-  echo -e "#!/bin/sh\nexit 0" > $i
+  printf "#!/bin/sh\nexit 0\n" > $i
   chmod +x $i
 done
 make check