From 5015c4e1662ee0fa6cad2c7b92f3a26a5606d394 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 21 Nov 2013 17:50:27 +0100 Subject: [clone_stage4] Also exclude links from stage4 if they already exist in stage32 --- scripts/clone_stage4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/clone_stage4 b/scripts/clone_stage4 index 2704db02..9691c609 100755 --- a/scripts/clone_stage4 +++ b/scripts/clone_stage4 @@ -46,7 +46,7 @@ done echo "## From cloned $2 of $1" >> "$EXCLUDE" # this next command lists all files found in BASE_DIR and removes the prefix BASE_DIR IFS=$'\n' -for FILE in $(find "${BASE_DIR}" -type f | cut -c $[${#BASE_DIR} + 1]-); do +for FILE in $(find "${BASE_DIR}" -type f -or -type l | cut -c $[${#BASE_DIR} + 1]-); do echo "- $FILE" >> "$EXCLUDE" done unset IFS -- cgit v1.2.3-55-g7522