MB-3702 Fix the path settings for the wrapper scripts
MB-3702 Fix the path settings for the wrapper scripts

Forward-port of the patch in 1.8.1

Change-Id: I72be0d4bacf61f057868de7539762eabdc0fc404
Reviewed-on: http://review.couchbase.org/16019
Tested-by: Chiyoung Seo <8b279095f11c26cc21045fda5a3e51debb005aa9@gmail.com>
Reviewed-by: Chiyoung Seo <8b279095f11c26cc21045fda5a3e51debb005aa9@gmail.com>

couchbase/bucket_engine,membase/bucket_engine,membase/bucket_engine,couchbase/bucket_engine,couchbase/bucket_engine,membase/bucket_engine,couchbase/bucket_engine,membase/bucket_engine