Permalink
Browse files

MB-4188 Need to add erlang path for escript command

Change-Id: Ieeee7d4774f029e97d013bca584c239ebb468cdb
Reviewed-on: http://review.couchbase.org/8937
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>
  • Loading branch information...
bcui6611 authored and steveyen committed Aug 14, 2011
1 parent 8d17d20 commit 7ff2de18fbb48c944407387305e123ec447ed9c5
Showing with 2 additions and 1 deletion.
  1. +2 −1 management/mbdbupgrade
View
@@ -168,7 +168,8 @@ def main():
if os.name == 'nt':
mydir = os.path.dirname(sys.argv[0])
memcache_dir = os.path.join(mydir, '..', '..', 'memcached')
- path = [mydir, memcache_dir, os.environ['PATH']]
+ erlang_dir = os.path.join(mydir, 'erlang', 'bin')
+ path = [mydir, memcache_dir, erlang_dir, os.environ['PATH']]
os.environ['PATH'] = ';'.join(path)
sqlite = findSqlite()

0 comments on commit 7ff2de1

Please sign in to comment.