diff --git a/utils/perms.sh b/utils/perms.sh new file mode 100755 index 00000000..9d5d6e24 --- /dev/null +++ b/utils/perms.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +#Author: Romain Goffe +#Date: 07/03/2012 +#Description: Check directories and files permissions + +chmod 755 songs/* +chmod 644 songs/*/*.* +chmod 644 lilypond/*.ly + +exit 0 \ No newline at end of file diff --git a/utils/release.sh b/utils/release.sh index 25c99ae9..c529f2b0 100755 --- a/utils/release.sh +++ b/utils/release.sh @@ -49,11 +49,7 @@ fi; #echo "emacs batch indentation done !" ./utils/rules.py ./utils/resize-cover.py - -#check for rights -chmod 755 songs/* -chmod 644 songs/*.* -chmod 644 lilypond/*.ly +./utils/perms.sh #build all songbooks rm -f *.d