diff options
author | Hisham <hisham@gobolinux.org> | 2016-10-29 21:52:20 -0200 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-10-29 23:15:30 -0200 |
commit | ee62d0fbc1ef08d1c258857d43c434680fd9ab1f (patch) | |
tree | d8924e3d15deb32ecea3180198a2364c794a3286 /src | |
parent | bcdb901611b05870692de69bd2a7cd1eec88a114 (diff) | |
download | luarocks-ee62d0fbc1ef08d1c258857d43c434680fd9ab1f.tar.gz luarocks-ee62d0fbc1ef08d1c258857d43c434680fd9ab1f.tar.bz2 luarocks-ee62d0fbc1ef08d1c258857d43c434680fd9ab1f.zip |
Fix references to writer.make_manifest
Diffstat (limited to 'src')
-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] |