1
0

- Replace spaces in filenames with "_"

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/courier-prime-fonts?expand=0&rev=2
This commit is contained in:
Thomas Schraitle 2013-02-05 09:57:56 +00:00 committed by Git OBS Bridge
parent fe989365f1
commit 018121e07c
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 5 09:57:34 UTC 2013 - toms@opensuse.org
- Replace spaces in filenames with "_"
-------------------------------------------------------------------
Tue Feb 5 09:45:45 UTC 2013 - toms@opensuse.org

View File

@ -44,6 +44,12 @@ unzip -j %{SOURCE0}
[ -e __MACOSX ] && rm -rf __MACOSX/
chmod 644 *.txt *.ttf
# Replace spaces in filenames
for i in Courier*.ttf; do
mv -vi "$i" "${i// /_}"
done
# Remove DOS line endings:
for i in *.txt; do
sed -i 's/.$//' "$i"