From aeb1a297d36e2ea222d18f92dd0fcbd20fd0b412 Mon Sep 17 00:00:00 2001
From: Cyril David <cyril@heroku.com>
Date: Mon, 23 Mar 2015 05:47:01 -0700
Subject: [PATCH] Patch to allow netrc buildpack[1] to work.

[1]: https://github.com/timshadel/heroku-buildpack-github-netrc
---
 bin/utils | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/utils b/bin/utils
index a57d54e7..eff6bf0a 100755
--- a/bin/utils
+++ b/bin/utils
@@ -68,7 +68,7 @@ deep-rm() {
   # subshell to avoid surprising caller with shopts.
   (
     shopt -s dotglob
-    rm -rf "$1"/!(tmp|.|..)
+    rm -rf "$1"/!(.curlrc|.netrc|tmp|.|..)
   )
 }
 
-- 
GitLab