From b6974f2ae6a0f39b66bdb8b193b8a9c7501384bf Mon Sep 17 00:00:00 2001 From: Wouter den Breejen Date: Fri, 13 Jul 2007 13:02:43 +0000 Subject: [PATCH] before adding solid-state dependencies to be able to support state for components that can't be configured to store state in /nix/state/.../ (like firefox) --- scripts/nix-statecommit.sh | 4 ++-- scripts/nix-statecommit.sh.in | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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