]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
This should fix the error when trying to upload sources.
authorChristian Schmidt <christian.schmidt@ipfire.org>
Sun, 29 Aug 2010 06:19:59 +0000 (08:19 +0200)
committerChristian Schmidt <christian.schmidt@ipfire.org>
Sun, 29 Aug 2010 06:19:59 +0000 (08:19 +0200)
make.sh

diff --git a/make.sh b/make.sh
index 4e72c008398217677e67e852721f8f6d609fa0ca..41ede31f412279373afddd51d5d07727df927abd 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1018,11 +1018,12 @@ uploadsrc)
                beautify message FAIL
                exit 1
        fi
                beautify message FAIL
                exit 1
        fi
+
        URL_SOURCE=$(grep URL_SOURCE lfs/Config | awk '{ print $3 }')
        URL_SOURCE=$(grep URL_SOURCE lfs/Config | awk '{ print $3 }')
-       REMOTE_FILES=$(echo "ls -1" | sftp -C ${IPFIRE_USER}@${URL_SOURCE})
+       REMOTE_FILES=$(echo "ls -1 --ignore=toolchains" | sftp -C ${IPFIRE_USER}@${URL_SOURCE})
 
        cd $BASEDIR/cache/
 
        cd $BASEDIR/cache/
-       for file in $(ls -1); do
+       for file in $(ls -1 --ignore=toolchains); do
                grep -q "$file" <<<$REMOTE_FILES && continue
                NEW_FILES="$NEW_FILES $file"
        done
                grep -q "$file" <<<$REMOTE_FILES && continue
                NEW_FILES="$NEW_FILES $file"
        done