mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-15 15:11:12 +02:00
Move and update degimpify
script(s)
* Move and rename `degimpify.sh` script to make it easier to find and use the `degimpify` script. * Make `degimpify.sh` script use `sed` in place. * Make `degimpify.sh` script use default directories if none are provided. * Make `degimpify.sh` script support processing all XPM (Pixmap) files in multiple directories. Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org> Reference-to: https://github.com/tenacityteam/tenacity/pull/407
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Run this script to take an xpm generated by the gimp and format it for
|
||||
# use Audacity
|
||||
for arg in $@
|
||||
do
|
||||
filename=$(tempfile)
|
||||
cat $arg| sed -e 's/\_xpm\[\]/\[\]/' -e 's/^static char \*/static const char \*/' > $filename
|
||||
mv $filename $arg
|
||||
|
||||
done
|
Reference in New Issue
Block a user