summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2017-10-22 11:13:20 +0200
committerRolf Eike Beer <eike@sf-mail.de>2017-10-22 11:13:20 +0200
commit79c65dc814ac5c07ee1391e51a3c91e20c51480d (patch)
tree2be71c2c073bf9a037ae82cb9c4aa34798e063dc
parentRemove references to atom-regexp. (diff)
downloadtatt-79c65dc814ac5c07ee1391e51a3c91e20c51480d.tar.gz
tatt-79c65dc814ac5c07ee1391e51a3c91e20c51480d.tar.bz2
tatt-79c65dc814ac5c07ee1391e51a3c91e20c51480d.zip
be more selective when removing things from keywords file
Match on the exact job marker, not on every line that accidentially matches the package name.
-rw-r--r--templates/cleanup2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/cleanup b/templates/cleanup
index fb483df..21db1ea 100644
--- a/templates/cleanup
+++ b/templates/cleanup
@@ -1,6 +1,6 @@
#!/bin/bash
## Clean-up the keywordfile
-sed -i "/@@CPV@@/d" @@KEYWORDFILE@@
+sed -i "/# Job @@CPV@@$/d" @@KEYWORDFILE@@
# Remove all files associated to the job:
rm -f @@JOB@@-*