|
|
@ -37,7 +37,6 @@ printUsage = -> |
|
|
|
print("'spm copy <package>' to copy package files to another location") |
|
|
|
print(" -f: Force creation of directories and overwriting of existing files.") |
|
|
|
|
|
|
|
|
|
|
|
-- Make an internet http/s request for data |
|
|
|
getContent = (url) -> |
|
|
|
sContent = "" |
|
|
@ -52,7 +51,7 @@ getContent = (url) -> |
|
|
|
return sContent |
|
|
|
|
|
|
|
-- Request repository information |
|
|
|
getRepos -> |
|
|
|
getRepos = -> |
|
|
|
success, sRepos = pcall(getContent, repoLocationConfig) |
|
|
|
|
|
|
|
if not success |
|
|
|