linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ozan Çağlayan" <ozancag@gmail.com>
To: linux-wireless@vger.kernel.org
Cc: "Ozan Çağlayan" <ozancag@gmail.com>
Subject: [PATCH 11/13] compat-wireless: Move refresh logic into the loop
Date: Thu,  9 Aug 2012 21:01:30 +0300	[thread overview]
Message-ID: <1344535292-4451-12-git-send-email-ozancag@gmail.com> (raw)
In-Reply-To: <1344535292-4451-1-git-send-email-ozancag@gmail.com>

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
---
 scripts/admin-update.sh | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh
index e701406..f0c7ad0 100755
--- a/scripts/admin-update.sh
+++ b/scripts/admin-update.sh
@@ -610,11 +610,12 @@ ORIG_CODE=$(find ./ -type f -name  \*.[ch] |
 printf "\n${CYAN}compat-drivers code metrics${NORMAL}\n\n" > $CODE_METRICS
 printf "${PURPLE}%10s${NORMAL} - Total upstream lines of code being pulled\n" $ORIG_CODE >> $CODE_METRICS
 
-for dir in $EXTRA_PATCHES; do
-	LAST_ELEM=$dir
-done
-
 for subsystem in $SUBSYSTEMS; do
+
+	for dir in $EXTRA_PATCHES; do
+		LAST_ELEM=$dir
+	done
+
 	for dir in $EXTRA_PATCHES; do
 		PATCHDIR="$dir/$subsystem"
 		if [[ ! -d $PATCHDIR ]]; then
@@ -622,7 +623,7 @@ for subsystem in $SUBSYSTEMS; do
 			continue
 		fi
 		if [[ $LAST_ELEM = $dir && "$REFRESH" = y ]]; then
-			patchRefresh $dir
+			patchRefresh $PATCHDIR
 		fi
 
 		for i in $(ls -v $PATCHDIR/*.patch 2> /dev/null); do
-- 
1.7.11.2


  parent reply	other threads:[~2012-08-09 18:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09 18:01 [PATCH 00/13] Merge GSoC DRM changes to admin-update.sh Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 01/13] compat-wireless: Clean up *.mod.c once after everything Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 02/13] compat-wireless: Isolate drivers into different groups Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 03/13] compat-wireless: List everything vertically without concatenating Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 04/13] compat-wireless: Add ability to enable/disable subsystems Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 05/13] compat-wireless: Add 2 convenience functions Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 06/13] compat-wireless: Conditionally build network drivers Ozan Çağlayan
2012-08-09 18:50   ` Hauke Mehrtens
2012-08-10 11:42     ` Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 08/13] compat-wireless: No need to search for patches Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 09/13] compat-wireless: Fix cmdline parameter's name Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 10/13] compat-wireless: Selectively apply patches Ozan Çağlayan
2012-08-09 19:00   ` Hauke Mehrtens
2012-08-10 11:44     ` Ozan Çağlayan
2012-08-09 18:01 ` Ozan Çağlayan [this message]
2012-08-09 18:01 ` [PATCH 12/13] compat-wireless: Fetch in DRM drivers Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 13/13] compat-wireless: Add DRM patches Ozan Çağlayan
2012-08-09 18:29 ` [PATCH 00/13] Merge GSoC DRM changes to admin-update.sh Sedat Dilek
2012-08-09 18:36   ` Sedat Dilek
2012-08-09 18:43     ` Hauke Mehrtens

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=1344535292-4451-12-git-send-email-ozancag@gmail.com \
    --to=ozancag@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).