Page MenuHomePhabricator

D21003.diff
No OneTemporary

D21003.diff

diff --git a/scripts/arcanist.php b/scripts/arcanist.php
--- a/scripts/arcanist.php
+++ b/scripts/arcanist.php
@@ -639,6 +639,17 @@
}
}
+ // If we didn't find anything, try alongside the arcanist directory
+ if (!$resolved) {
+ $resolved_location = Filesystem::resolvePath(
+ $location,
+ dirname(__FILE__).'/../../');
+ if (Filesystem::pathExists($resolved_location)) {
+ $location = $resolved_location;
+ $resolved = true;
+ }
+ }
+
$console = PhutilConsole::getConsole();
$console->writeLog(
"%s\n",

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 10, 12:09 PM (3 w, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8695446
Default Alt Text
D21003.diff (587 B)

Event Timeline