[Fusionforge-commits] FusionForge branch master updated. 5c31f21e7c0340ae624d4b019cd078649d68698e
Roland Mas
lolando at fusionforge.org
Tue Aug 5 17:12:21 CEST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 5c31f21e7c0340ae624d4b019cd078649d68698e (commit)
from 0ef905cc9feace7a7c8b10630b8f9a234af61425 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5c31f21e7c0340ae624d4b019cd078649d68698e
Author: Roland Mas <lolando at debian.org>
Date: Tue Aug 5 17:12:10 2014 +0200
Fixed quoting to avoid removing *everything* on db reload
diff --git a/tests/func/db_reload.sh b/tests/func/db_reload.sh
index a4d175b..059371e 100755
--- a/tests/func/db_reload.sh
+++ b/tests/func/db_reload.sh
@@ -123,7 +123,7 @@ fi
for i in arch bzr cvs darcs git hg svn ; do
repopath=`FUSIONFORGE_NO_PLUGINS=true forge_get_config repos_path scm$i`
- if [ -d $repopath ] && ls $repopath | grep -q .. ; then
+ if [ -d "$repopath" ] && ls $repopath | grep -q .. ; then
echo "Removing $i repositories"
rm -rf $repopath/*
fi
-----------------------------------------------------------------------
Summary of changes:
tests/func/db_reload.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list