1
0
Fork 0
mirror of https://github.com/kastdeur/pipeband-music.git synced 2024-12-22 16:23:31 +01:00

GITignore pdf/ and tmp/

build: renaming files works in pdf
This commit is contained in:
Eric Teunis de Boone 2016-02-20 16:39:11 +01:00
parent dd45601514
commit f44412520b
2 changed files with 9 additions and 4 deletions

4
.gitignore vendored
View file

@ -1 +1,3 @@
disk_errors/* disk_errors/
pdf/
tmp/

9
build
View file

@ -3,7 +3,7 @@
MKDRUMCOMMAND="./lilydrum/makedrum" MKDRUMCOMMAND="./lilydrum/makedrum"
MKDRUMOPTIONS="--no-log -i ./defs/defs.ly -i ./defs/header_default.ily --drumfile ./lilydrum/lilydrum.ly --pipefile ./bagpipemusic/bagpipe_new.ly -s 18" MKDRUMOPTIONS="--no-log -i ./defs/defs.ly -i ./defs/header_default.ily --drumfile ./lilydrum/lilydrum.ly --pipefile ./bagpipemusic/bagpipe_new.ly -s 18"
MUSIC_DIR="./music/" MUSIC_DIR="./music/"
OUT_DIR="./pdf/" OUT_DIR="./pdf"
MKDRUMOPTIONS="$MKDRUMOPTIONS -d $OUT_DIR" MKDRUMOPTIONS="$MKDRUMOPTIONS -d $OUT_DIR"
trap "echo Aborted!; exit;" SIGINT SIGTERM trap "echo Aborted!; exit;" SIGINT SIGTERM
@ -44,7 +44,10 @@ elif [ -d "$1" ]; then
fi fi
# Fix naming # Fix naming
for f in $OUT_DIR/music-* for f in $OUT_DIR/music-* ;
do do
mv $f ${f/music-/} #if [[ ! "$f" == *music-* ]]; then
# continue;
#fi
mv "$f" "${f/"music-"}";
done; done;