X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=make.sh;h=41ede31f412279373afddd51d5d07727df927abd;hp=4e72c008398217677e67e852721f8f6d609fa0ca;hb=ae23a606c8e22c64d18484e39f2ce61f23e2f1c1;hpb=aac0f7118f0630a1987324c4d29c642be06a9f94 diff --git a/make.sh b/make.sh index 4e72c00839..41ede31f41 100755 --- a/make.sh +++ b/make.sh @@ -1018,11 +1018,12 @@ uploadsrc) beautify message FAIL exit 1 fi + 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/ - 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