Skip to content

Commit 171c9f5

Browse files
committed
Fixes an issue with using git-deploy without --repo-path.
1 parent a0e05a8 commit 171c9f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static function getArgs() {
3434
if (isset($opts['repo'])) {
3535
$repo_path = $opts['repo'];
3636
} else {
37-
$repo_path = dirname(__FILE__) . DIRECTORY_SEPARATOR;
37+
$repo_path = getcwd() . DIRECTORY_SEPARATOR;
3838
}
3939

4040
return array(

0 commit comments

Comments
 (0)