Skip to content
Snippets Groups Projects
Commit 6ab397db authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

whitelist

parent d8623ae4
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment