diff options
author | Benda Xu <heroxbd@gentoo.org> | 2023-08-20 16:39:05 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2023-08-20 16:39:05 +0800 |
commit | 5ff69aa110781e71f3eb032bf6fb0a9f29f850b4 (patch) | |
tree | 68e56e013bebf2c831257c9e45d23719ea124c83 | |
parent | test-keyword.sh: also redirect standard error. (diff) | |
download | heroxbd-5ff69aa110781e71f3eb032bf6fb0a9f29f850b4.tar.gz heroxbd-5ff69aa110781e71f3eb032bf6fb0a9f29f850b4.tar.bz2 heroxbd-5ff69aa110781e71f3eb032bf6fb0a9f29f850b4.zip |
test-keyword.sh: fix sed line range expression.
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
-rwxr-xr-x | test-keyword.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-keyword.sh b/test-keyword.sh index 28c4cc3..762d174 100755 --- a/test-keyword.sh +++ b/test-keyword.sh @@ -7,7 +7,7 @@ type -p emerge || exit 1 ack="${EPREFIX}/etc/portage/package.accept_keywords" -sed "/### START keyword for $1/../### END keyword for $1/d" -i ${ack} +sed "/### START keyword for $1/,/### END keyword for $1/d" -i ${ack} echo "### START keyword for $1" >> ${ack} |