Spaces in filenames were not working in 'tuxpaint-import.sh'. (Fixes bug #1527884)

This commit is contained in:
William Kendrick 2006-08-13 01:14:35 +00:00
parent 55bd6552d8
commit 4720c4688f
2 changed files with 9 additions and 3 deletions

View file

@ -173,7 +173,7 @@ $Id$
* Bug Fixes: * Bug Fixes:
---------- ----------
* Tux Paint's scalable icon (tuxpaint-icon.svg) caused Gnome panel to * tux Paint's scalable icon (tuxpaint-icon.svg) caused Gnome panel to
go wild (due to "libarts" bug?). Changed a vector value which apparently go wild (due to "libarts" bug?). Changed a vector value which apparently
fixes it (and caused no noticable changes to the icon). fixes it (and caused no noticable changes to the icon).
@ -194,6 +194,10 @@ $Id$
* Improved handling of scroll button state to prevent it from getting * Improved handling of scroll button state to prevent it from getting
into an infinite loop. (Fixes bug #1396706) into an infinite loop. (Fixes bug #1396706)
* Spaces in filenames were not working in 'tuxpaint-import.sh'.
(Fixes bug #1527884)
James Le Cuirot
2005.November.26 (0.9.15b) 2005.November.26 (0.9.15b)

View file

@ -25,7 +25,7 @@
# (See COPYING.txt) # (See COPYING.txt)
# September 21, 2002 - February 17, 2006 # September 21, 2002 - August 12, 2006
SAVEDIR=$HOME/.tuxpaint SAVEDIR=$HOME/.tuxpaint
@ -141,8 +141,10 @@ fi
# For each picture list... # For each picture list...
for i in $* for x in $(seq 1 $#)
do do
i="${!x}"
if [ -e $i ]; then if [ -e $i ]; then
# Determine a filename for it: # Determine a filename for it:
NEWFILENAME=`date "+%Y%m%d%H%M%S"` NEWFILENAME=`date "+%Y%m%d%H%M%S"`