Permalink
Browse files

meteor update: put old directory at meteor.old, not meteo.old.

  • Loading branch information...
1 parent c020d4a commit ed0c21ad378aec817c10e2f5e7653e87fd41f9f6 @glasser glasser committed Nov 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/meteor/update.js
View
@@ -191,7 +191,7 @@ updater.get_manifest(function (manifest) {
}
// untar complete. swap directories
- var old_base_dir = base_dir.slice(0,-1) + ".old";
+ var old_base_dir = base_dir.slice + ".old";
if (fs.existsSync(old_base_dir))
files.rm_recursive(old_base_dir); // rm -rf !!

0 comments on commit ed0c21a

Please sign in to comment.