From 6ab397db1016811d28572a49060e736c12f3f2c2 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.org>
Date: Tue, 13 Oct 2015 10:03:50 -0400
Subject: [PATCH] whitelist

---
 bin/compile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/compile b/bin/compile
index 372ad3dc..0b62cc4d 100755
--- a/bin/compile
+++ b/bin/compile
@@ -149,7 +149,7 @@ bpwatch start restore_cache
   for dir in $CACHED_DIRS; do
     cp -R $CACHE_DIR/$dir . &> /dev/null || true
   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
 
 set +e
-- 
GitLab