Commit 6ab397db authored by Kenneth Reitz's avatar Kenneth Reitz

whitelist

parent d8623ae4
...@@ -149,7 +149,7 @@ bpwatch start restore_cache ...@@ -149,7 +149,7 @@ bpwatch start restore_cache
for dir in $CACHED_DIRS; do for dir in $CACHED_DIRS; do
cp -R $CACHE_DIR/$dir . &> /dev/null || true cp -R $CACHE_DIR/$dir . &> /dev/null || true
done done
ls -1 $CACHED_DIRS | grep -E -v $WHITELISTED_CACHE_ENTRIES | xargs rm -f ls -1 | grep -E -v "$WHITELISTED_CACHE_ENTRIES" | xargs rm -f
bpwatch stop restore_cache bpwatch stop restore_cache
set +e set +e
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment