From 3434c2714fe2b99fd89ac0f8cd83535c2ebc8127 Mon Sep 17 00:00:00 2001 From: Jeffrey Brubaker Date: Thu, 3 Jul 2014 16:54:01 -0400 Subject: [PATCH] resolve issue with undefined variable in Windows --- PHPCI/Model/Build/RemoteGitBuild.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PHPCI/Model/Build/RemoteGitBuild.php b/PHPCI/Model/Build/RemoteGitBuild.php index 2af3f584..ce7e51f5 100644 --- a/PHPCI/Model/Build/RemoteGitBuild.php +++ b/PHPCI/Model/Build/RemoteGitBuild.php @@ -106,7 +106,9 @@ class RemoteGitBuild extends Build // Remove the key file and git wrapper: unlink($keyFile); - unlink($gitSshWrapper); + if (!IS_WIN) { + unlink($gitSshWrapper); + } return $success; }