mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Don't fail if CACHE_DIR has a missing component
Also, don't invoke weave if it's not running.
This commit is contained in:
@@ -5,7 +5,7 @@ set -eux
|
||||
CACHE_DIR=$HOME/docker/
|
||||
|
||||
rebuild() {
|
||||
rm $CACHE_DIR/*
|
||||
rm $CACHE_DIR/* || true
|
||||
make scope_ui_build.tar
|
||||
mkdir -p $CACHE_DIR
|
||||
mv scope_ui_build.tar $CACHE_DIR/image-$CIRCLE_SHA1
|
||||
|
||||
Reference in New Issue
Block a user