projects
/
buildd-scripts.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Ignore emacs backup files
[buildd-scripts.git]
/
bin
/
note_removed
1
#!/bin/sh
2
3
for LOGFILE in $@; do
4
case $LOGFILE in
5
*.log)
6
# OK
7
;;
8
*)
9
echo "ERROR: non-logfile $LOGFILE specified"
10
echo "ABORT"
11
exit 1
12
;;
13
esac
14
15
if [ -f $LOGFILE ]; then
16
NOTEFILE=$(echo $LOGFILE | sed 's/\.log$/.note/')
17
echo "Already removed from unstable" > $NOTEFILE
18
else
19
echo "Can't find logfile $LOGFILE, ignoring"
20
fi
21
done
22