diff options
author | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-04-19 06:53:11 +0000 |
---|---|---|
committer | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-04-19 06:53:11 +0000 |
commit | fef6546735105a7fbb9c58bcd381f12fa6394f80 (patch) | |
tree | bf938058384a28f7da7c610eef9d316e5dd47ef1 /nautilus-clean.sh | |
parent | 638912544af85c80c64142581b9d44aac33cbe54 (diff) | |
download | nautilus-fef6546735105a7fbb9c58bcd381f12fa6394f80.tar.gz |
Grep out "emacs" so that this nice script doesnt kill my editor when i
* nautilus-clean.sh: Grep out "emacs" so that this nice script
doesnt kill my editor when i happen to be editting the source to
component in question.
Diffstat (limited to 'nautilus-clean.sh')
-rwxr-xr-x | nautilus-clean.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nautilus-clean.sh b/nautilus-clean.sh index fe513cba1..cd6126770 100755 --- a/nautilus-clean.sh +++ b/nautilus-clean.sh @@ -16,7 +16,7 @@ for NAME in $AUX_PROGS; do EGREP_PATTERN=`echo $NAME | sed -e 's/\(.\)\(.*\)/[\1]\2/' | sed -e 's/\[\\\^\]/\[\\^\]/'`; - COUNT=`ps auxww | egrep $EGREP_PATTERN | wc -l`; + COUNT=`ps auxww | egrep $EGREP_PATTERN | grep -v emacs | wc -l`; if [ $COUNT -gt 0 ]; then if [ -z $FOUND_ANY ]; then |