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:
parent
dd45601514
commit
f44412520b
2 changed files with 9 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1 +1,3 @@
|
||||||
disk_errors/*
|
disk_errors/
|
||||||
|
pdf/
|
||||||
|
tmp/
|
||||||
|
|
9
build
9
build
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue