diff --git a/scripts/nix-statecommit.sh b/scripts/nix-statecommit.sh index df14efa5a..a3a8c6aaf 100755 --- a/scripts/nix-statecommit.sh +++ b/scripts/nix-statecommit.sh @@ -3,7 +3,7 @@ #check if there are enough arguments, if not, exit with an error -debug=""; #set to "" for no debugging, set to "echo " to debug the commands +debug="echo "; #set to "" for no debugging, set to "echo " to debug the commands if [ "$#" != 6 ] && [ "$#" != 7 ] ; then echo "Incorrect number of arguments" @@ -109,7 +109,7 @@ function subversionSingleStateDir { fi done - #echo ${subitems[@]} + echo Adding subitems ${subitems[@]} for item in ${subitems[@]} do diff --git a/scripts/nix-statecommit.sh.in b/scripts/nix-statecommit.sh.in index df14efa5a..a397b4050 100755 --- a/scripts/nix-statecommit.sh.in +++ b/scripts/nix-statecommit.sh.in @@ -3,7 +3,7 @@ #check if there are enough arguments, if not, exit with an error -debug=""; #set to "" for no debugging, set to "echo " to debug the commands +debug="echo "; #set to "" for no debugging, set to "echo " to debug the commands if [ "$#" != 6 ] && [ "$#" != 7 ] ; then echo "Incorrect number of arguments" @@ -34,6 +34,8 @@ if [ "$debug" != "" ] ; then echo deletesvn: $deletesvn fi +# TODO: we need a solution for symlinks, svn doesnt support them + # # # @@ -109,7 +111,7 @@ function subversionSingleStateDir { fi done - #echo ${subitems[@]} + echo Adding subitems ${subitems[@]} for item in ${subitems[@]} do