summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-08-12 09:39:07 +0100
committerMark Haines <mark.haines@matrix.org>2015-08-12 09:39:07 +0100
commitb24d7ebd6e57154d13f3a3a8e1aacc20ef34b417 (patch)
treeddb6c4a249e0a39e1cc8dc077cfb2b5edcd9a426
parentFederation demo start.sh: Fixed --no-rate-limit param in the script (diff)
downloadsynapse-b24d7ebd6e57154d13f3a3a8e1aacc20ef34b417.tar.xz
Fix the cleanup script to use the right $DIR
-rwxr-xr-xdemo/clean.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/clean.sh b/demo/clean.sh
index 31007737f8..418ca9457e 100755
--- a/demo/clean.sh
+++ b/demo/clean.sh
@@ -12,8 +12,8 @@ if [ -f $PID_FILE ]; then
 fi
 
 for port in 8080 8081 8082; do
-    rm -rf demo/$port
-    rm -rf demo/media_store.$port
+    rm -rf $DIR/$port
+    rm -rf $DIR/media_store.$port
 done
 
 rm -rf $DIR/etc