summaryrefslogtreecommitdiff
path: root/nautilus-clean.sh
diff options
context:
space:
mode:
authorRamiro Estrugo <ramiro@src.gnome.org>2000-04-19 06:53:11 +0000
committerRamiro Estrugo <ramiro@src.gnome.org>2000-04-19 06:53:11 +0000
commitfef6546735105a7fbb9c58bcd381f12fa6394f80 (patch)
treebf938058384a28f7da7c610eef9d316e5dd47ef1 /nautilus-clean.sh
parent638912544af85c80c64142581b9d44aac33cbe54 (diff)
downloadnautilus-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-xnautilus-clean.sh2
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