From 914b7369b102149d8d8725980c11fc8f5f8a375d Mon Sep 17 00:00:00 2001 From: Aiko Mastboom Date: Mon, 13 May 2013 19:53:12 +0200 Subject: [PATCH] added . --- bin/deployit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/deployit b/bin/deployit index 83fefa1..3a5a973 100755 --- a/bin/deployit +++ b/bin/deployit @@ -21,7 +21,7 @@ PROTOTYPER=$(basename $PWD) fleet-ps | grep -B 2 "${PROTOTYPER}/" | grep pid | cut -d " " -f 2 | xargs fleet-stop # cleanup other commits -fleet-exec -- bash -c "ls .. | grep ${PROTOTYPER} | grep -v \$(basename \${PWD}) | xargs -Icommit rm -rf ../commit" +fleet-exec -- bash -c "ls .. | grep ${PROTOTYPER}. | grep -v \$(basename \${PWD}) | xargs -Icommit rm -rf ../commit" # start new # not using 'npm start' because when killed it doesn't kill its children (server.js)