public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: Subrata Modak <subrata@linux.vnet.ibm.com>
Cc: LTP List Members <ltp-list@lists.sf.net>
Subject: Re: [LTP] [PATCH v2] Remove files which does not have a dmesg entry
Date: Thu, 1 Jul 2010 12:44:34 -0400	[thread overview]
Message-ID: <201007011244.37145.vapier@gentoo.org> (raw)
In-Reply-To: <20100701153446.16085.3341.sendpatchset@subratamodak.linux.ibm.com>


[-- Attachment #1.1: Type: Text/Plain, Size: 364 bytes --]

On Thursday, July 01, 2010 11:34:47 Subrata Modak wrote:
> +		PREVIOUS_TO_DMESG_DIR=`pwd`
> +		cd $DMESG_DIR
> +		if [ $? -eq 0 ] ; then
> +			find . -size 0 -exec rm {} +
> +		else
> +			echo "cd to $DMESG_DIR failed: $?"
> +		fi
> +		cd $PREVIOUS_TO_DMESG_DIR

		if find "$DMESG_DIR" -size 0 -exec rm {} + ; then
			echo "cd to $DMESG_DIR failed: $?"
		fi
-mike

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 235 bytes --]

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2010-07-01 16:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-01 15:34 [LTP] [PATCH v2] Remove files which does not have a dmesg entry Subrata Modak
2010-07-01 16:44 ` Mike Frysinger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201007011244.37145.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=ltp-list@lists.sf.net \
    --cc=subrata@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox