diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-10-16 14:18:09 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-10-16 14:18:09 +0000 |
commit | 79ff19f8115ddeb3d2ee1dcf71c5bcd6c54ccb19 (patch) | |
tree | 0c945e32f7eb9c7b34fe70400df928ab2d722878 /import-images.sh | |
parent | fe39c718b7f23d47fef10224a6bdbf9098e7527f (diff) | |
download | theme-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-x | import-images.sh | 4 |
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 |