Package: pykaraoke / 0.7.5-1.2

fix_cdg2mpg_bashism.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix bashism in cdg2mpg
Author: Jonathan Wiltshire <debian@jwiltshire.org.uk>

Index: pykaraoke-0.7.1/install/cdg2mpg
===================================================================
--- pykaraoke-0.7.1.orig/install/cdg2mpg	2008-03-19 19:57:52.000000000 +0100
+++ pykaraoke-0.7.1/install/cdg2mpg	2010-02-04 23:05:50.000000000 +0100
@@ -2,7 +2,7 @@
 
 # Sanity-check parameters.
 for cdg in "$@"; do
-  if [ `basename "$cdg" .cdg` == "$cdg" ]; then
+  if [ `basename "$cdg" .cdg` = "$cdg" ]; then
     echo "$cdg" does not end in .cdg.
     exit 1
   fi