Make build.sh drop output in correct dirs
This commit is contained in:
@@ -69,8 +69,9 @@ function command-compile {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function command-watch {
|
function command-watch {
|
||||||
|
CURRENT_DIR=$(dirname $0)
|
||||||
$FSWATCH -r src/scores -i '*.ly$' -e "includes" | while read FILE; do
|
$FSWATCH -r src/scores -i '*.ly$' -e "includes" | while read FILE; do
|
||||||
FILE=$(echo $FILE | sed "s@$PWD@.@")
|
FILE=$(echo $FILE | sed 's@.*/src/scores/\(.*\)$@./src/scores/\1@')
|
||||||
compile-ly $FILE
|
compile-ly $FILE
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user