public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 03e7b65b0173ae1ee9e3a5f326eef04596da3b14
@ 2014-01-16 10:08 git
  0 siblings, 0 replies; only message in thread
From: git @ 2014-01-16 10:08 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 2055 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  03e7b65b0173ae1ee9e3a5f326eef04596da3b14 (commit)
       via  15e38431b97baeada58f279b62a0cbfb609230a7 (commit)
      from  f56c0f6c774a442da3f85ec590bb75632abd5dca (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 03e7b65b0173ae1ee9e3a5f326eef04596da3b14
Merge: 15e3843 f56c0f6
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Thu Jan 16 11:08:01 2014 +0100

    Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

commit 15e38431b97baeada58f279b62a0cbfb609230a7
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Thu Jan 16 11:06:49 2014 +0100

    Fix sourecode upload.

-----------------------------------------------------------------------

Summary of changes:
 make.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Difference in files:
diff --git a/make.sh b/make.sh
index 5d12665..cb04763 100755
--- a/make.sh
+++ b/make.sh
@@ -1083,11 +1083,11 @@ uploadsrc)
 	fi
 
 	URL_SOURCE=$(grep URL_SOURCE lfs/Config | awk '{ print $3 }')
-	REMOTE_FILES=$(echo "ls -1 --ignore=toolchains" | sftp -C ${IPFIRE_USER}@${URL_SOURCE})
+	REMOTE_FILES=$(echo "ls -1" | sftp -C ${IPFIRE_USER}@${URL_SOURCE})
 
-	cd $BASEDIR/cache/
-	for file in $(ls -1 --ignore=toolchains); do
-		grep -q "$file" <<<$REMOTE_FILES && continue
+	for file in ${BASEDIR}/cache/*; do
+		[ -d "${file}" ] && continue
+		grep -q "$(basename ${file})" <<<$REMOTE_FILES && continue
 		NEW_FILES="$NEW_FILES $file"
 	done
 	[ -n "$NEW_FILES" ] && scp -2 $NEW_FILES ${IPFIRE_USER}@${URL_SOURCE}


hooks/post-receive
--
IPFire 2.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-16 10:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-16 10:08 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 03e7b65b0173ae1ee9e3a5f326eef04596da3b14 git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox