CBD-958:  fix sed command to properly modified installed scripts

Change-Id: I11861a9bd4eaf417416acdd20bf2dd5308e32eef
Reviewed-on: http://review.couchbase.org/27545
Reviewed-by: Traun Leyden <tleyden@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>
Reviewed-by: Philip Labee <philip@couchbase.com>