diff options
| author | Hisham <hisham@gobolinux.org> | 2016-10-29 21:52:20 -0200 |
|---|---|---|
| committer | Hisham <hisham@gobolinux.org> | 2016-10-29 21:52:20 -0200 |
| commit | f8bd89d27323403dd9de9772a7974b439b37b29d (patch) | |
| tree | 08e3c87512cac6bf81194161768c52d9456b3ca0 | |
| parent | 339ad9a31c73d31f09a3db56b1c7e86d026fef16 (diff) | |
| download | luarocks-f8bd89d27323403dd9de9772a7974b439b37b29d.tar.gz luarocks-f8bd89d27323403dd9de9772a7974b439b37b29d.tar.bz2 luarocks-f8bd89d27323403dd9de9772a7974b439b37b29d.zip | |
Fix references to writer.make_manifest
| -rw-r--r-- | src/luarocks/manif/writer.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/luarocks/manif/writer.lua b/src/luarocks/manif/writer.lua index df971fca..daa6b005 100644 --- a/src/luarocks/manif/writer.lua +++ b/src/luarocks/manif/writer.lua | |||
| @@ -353,10 +353,10 @@ function writer.add_to_manifest(name, version, repo, deps_mode) | |||
| 353 | local manifest, err = manif.load_local_manifest(rocks_dir) | 353 | local manifest, err = manif.load_local_manifest(rocks_dir) |
| 354 | if not manifest then | 354 | if not manifest then |
| 355 | util.printerr("No existing manifest. Attempting to rebuild...") | 355 | util.printerr("No existing manifest. Attempting to rebuild...") |
| 356 | -- Manifest built by `manif.make_manifest` should already | 356 | -- Manifest built by `writer.make_manifest` should already |
| 357 | -- include information about given name and version, | 357 | -- include information about given name and version, |
| 358 | -- no need to update it. | 358 | -- no need to update it. |
| 359 | return manif.make_manifest(rocks_dir, deps_mode) | 359 | return writer.make_manifest(rocks_dir, deps_mode) |
| 360 | end | 360 | end |
| 361 | 361 | ||
| 362 | local results = {[name] = {[version] = {{arch = "installed", repo = rocks_dir}}}} | 362 | local results = {[name] = {[version] = {{arch = "installed", repo = rocks_dir}}}} |
| @@ -390,9 +390,9 @@ function writer.remove_from_manifest(name, version, repo, deps_mode) | |||
| 390 | local manifest, err = manif.load_local_manifest(rocks_dir) | 390 | local manifest, err = manif.load_local_manifest(rocks_dir) |
| 391 | if not manifest then | 391 | if not manifest then |
| 392 | util.printerr("No existing manifest. Attempting to rebuild...") | 392 | util.printerr("No existing manifest. Attempting to rebuild...") |
| 393 | -- Manifest built by `manif.make_manifest` should already | 393 | -- Manifest built by `writer.make_manifest` should already |
| 394 | -- include up-to-date information, no need to update it. | 394 | -- include up-to-date information, no need to update it. |
| 395 | return manif.make_manifest(rocks_dir, deps_mode) | 395 | return writer.make_manifest(rocks_dir, deps_mode) |
| 396 | end | 396 | end |
| 397 | 397 | ||
| 398 | local package_entry = manifest.repository[name] | 398 | local package_entry = manifest.repository[name] |
