diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-24 23:59:56 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-24 23:59:56 +0200 |
commit | 5150bc2eaa1e1e8d1430414c79b8d0ef033eba31 (patch) | |
tree | 3b64270f2f4156dd6b7cefff397a6a13e54ba6a2 /tests | |
parent | d73ca39465717a9a63aa94ef8a110066c2d1a21e (diff) |
tests: remember to escape $
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/fake-editor-change-password.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fake-editor-change-password.sh b/tests/fake-editor-change-password.sh index 7d30bdb..0395af0 100755 --- a/tests/fake-editor-change-password.sh +++ b/tests/fake-editor-change-password.sh @@ -20,6 +20,6 @@ new_password="${FAKE_EDITOR_PASSWORD:-Hello World}" # And change only first line of file # -i.tmp allows editing file in place. Extension needed on Mac OSX -sed -i.tmp "1 s/^.*$/$new_password/g" "$filename" +sed -i.tmp "1 s/^.*\$/$new_password/g" "$filename" exit 0 |