File tuxpaint-import-eval.patch of Package tuxpaint

Index: src/tuxpaint-import.sh
===================================================================
--- src/tuxpaint-import.sh.orig
+++ src/tuxpaint-import.sh
@@ -143,7 +143,7 @@
 # For each picture list...
 for x in $(seq 1 $#)
 do
-  i="${!x}"
+  i=$(eval echo \$\{$x\})
 
   if [ -e "$i" ]; then
     # Determine a filename for it:
openSUSE Build Service is sponsored by