Permalink
Comparing changes
Open a pull request
- 1 commit
- 1 file changed
- 0 commit comments
- 1 contributor
Unified
Split
Showing
with
4 additions
and 1 deletion.
- +4 −1 HaikuPorter/Source.py
| @@ -209,12 +209,15 @@ def unpack(self, port): | ||
| if os.path.exists(self.sourceBaseDir): | ||
| info('Cleaning source dir for ' + self.fetchTargetName) | ||
| shutil.rmtree(self.sourceBaseDir) | ||
| os.makedirs(self.sourceDir) | ||
| os.makedirs(self.sourceBaseDir) | ||
|
|
||
| info('Unpacking source of ' + self.fetchTargetName) | ||
| self.sourceFetcher.unpack(self.sourceBaseDir, self.sourceSubDir, | ||
| self.sourceExportSubdir) | ||
|
|
||
| if not os.path.exists(self.sourceDir): | ||
| sysExit(self.sourceSubDir + ' doesn\'t exist in sources! Define SOURCE_DIR in recipe?') | ||
|
|
||
| port.setFlag('unpack', self.index) | ||
|
|
||
| def populateAdditionalFiles(self, baseDir): | ||