summaryrefslogtreecommitdiffstats
path: root/import-images.sh
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-10-16 14:18:09 +0000
committerOlivier Blin <oblin@mandriva.com>2007-10-16 14:18:09 +0000
commit79ff19f8115ddeb3d2ee1dcf71c5bcd6c54ccb19 (patch)
tree0c945e32f7eb9c7b34fe70400df928ab2d722878 /import-images.sh
parentfe39c718b7f23d47fef10224a6bdbf9098e7527f (diff)
downloadtheme-79ff19f8115ddeb3d2ee1dcf71c5bcd6c54ccb19.tar
theme-79ff19f8115ddeb3d2ee1dcf71c5bcd6c54ccb19.tar.gz
theme-79ff19f8115ddeb3d2ee1dcf71c5bcd6c54ccb19.tar.bz2
theme-79ff19f8115ddeb3d2ee1dcf71c5bcd6c54ccb19.tar.xz
theme-79ff19f8115ddeb3d2ee1dcf71c5bcd6c54ccb19.zip
handle spaces in filenames
Diffstat (limited to 'import-images.sh')
-rwxr-xr-ximport-images.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/import-images.sh b/import-images.sh
index 2d8f06c..e5be16d 100755
--- a/import-images.sh
+++ b/import-images.sh
@@ -13,7 +13,7 @@ prefix=background/$theme
[ "$mode" = "bootsplash" ] && prefix=bootsplash/data/bootsplash
for f in "$@"; do
- r=`identify -format '%wx%h' $f`
+ r=`identify -format '%wx%h' "$f"`
d=$theme/$prefix-$r.png
- cp -af $f $d
+ cp -af "$f" "$d"
done