File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -55,15 +55,15 @@ public function fetchStarterKit($starterkit = "") {
55
55
Console::writeError ("please provide a path for the starterkit before trying to fetch it... " );
56
56
}
57
57
58
+ // figure out the options for the GH path
59
+ list ($ org ,$ repo ,$ tag ) = $ this ->getPackageInfo ($ starterkit );
60
+
58
61
// set default attributes
59
62
$ sourceDir = Config::getOption ("sourceDir " );
60
63
$ tempDir = sys_get_temp_dir ().DIRECTORY_SEPARATOR ."pl-sk " ;
61
64
$ tempDirSK = $ tempDir .DIRECTORY_SEPARATOR ."pl-sk-archive " ;
62
- $ tempDirDist = $ tempDirSK .DIRECTORY_SEPARATOR ."dist " ;
63
- $ tempComposerFile = $ tempDirSK .DIRECTORY_SEPARATOR ."composer.json " ;
64
-
65
- // figure out the options for the GH path
66
- list ($ org ,$ repo ,$ tag ) = $ this ->getPackageInfo ($ starterkit );
65
+ $ tempDirDist = $ tempDirSK .DIRECTORY_SEPARATOR .$ repo ."- " .$ tag .DIRECTORY_SEPARATOR ."dist " ;
66
+ $ tempComposerFile = $ tempDirSK .DIRECTORY_SEPARATOR .$ repo ."- " .$ tag .DIRECTORY_SEPARATOR ."composer.json " ;
67
67
68
68
//get the path to the GH repo and validate it
69
69
$ tarballUrl = "https://github.com/ " .$ org ."/ " .$ repo ."/archive/ " .$ tag .".tar.gz " ;
@@ -129,7 +129,7 @@ public function fetchStarterKit($starterkit = "") {
129
129
Console::writeInfo ("cleaning up the temp files... " );
130
130
$ fs = new Filesystem ();
131
131
$ fs ->remove ($ tempFile );
132
- $ fs ->remove ($ tempDir );
132
+ $ fs ->remove ($ tempDirSK );
133
133
134
134
Console::writeInfo ("the starterkit installation is complete... " );
135
135
You can’t perform that action at this time.
0 commit comments