diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-06-23 15:58:06 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2014-06-24 07:23:13 +0200 |
commit | e9006db3eb49ea07bde58ae9f8c5d70b4816589f (patch) | |
tree | 1a112a2c3ff1f51f73eb33f03964c97890b9ee0c /ctdb/wscript | |
parent | a0d207001a8ddb077d0ec52d54a90efac652989d (diff) | |
download | samba-e9006db3eb49ea07bde58ae9f8c5d70b4816589f.tar.gz |
ctdb-build: Fix sed expression to protect '\'
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/wscript')
-rwxr-xr-x | ctdb/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/wscript b/ctdb/wscript index 159fc8f0c9e..2ba82fc7888 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -489,7 +489,7 @@ def build(bld): sed_expr1 = 's@^test_dir=.*@test_dir=%s\\nexport TEST_BIN_DIR=\"%s\"@' % ( bld.env.CTDB_TEST_DATADIR, bld.env.CTDB_TEST_LIBDIR) - sed_expr2 = 's@^\(export CTDB_TESTS_ARE_INSTALLED\)=false@\1=true@' + sed_expr2 = 's@^\(export CTDB_TESTS_ARE_INSTALLED\)=false@\\1=true@' bld.SAMBA_GENERATOR('ctdb-test-runner', source='tests/run_tests.sh', target='ctdb_run_tests.sh', |