diff options
author | Simon Rettberg | 2013-11-21 17:50:27 +0100 |
---|---|---|
committer | Simon Rettberg | 2013-11-21 17:50:27 +0100 |
commit | 5015c4e1662ee0fa6cad2c7b92f3a26a5606d394 (patch) | |
tree | 7d97ce0118ddeafe7787760b4e1b94bffe10cb58 /scripts | |
parent | [stage4-blacklist] Remove links to shell, poweroff/reboot/shutdown, whitelist... (diff) | |
download | tm-scripts-5015c4e1662ee0fa6cad2c7b92f3a26a5606d394.tar.gz tm-scripts-5015c4e1662ee0fa6cad2c7b92f3a26a5606d394.tar.xz tm-scripts-5015c4e1662ee0fa6cad2c7b92f3a26a5606d394.zip |
[clone_stage4] Also exclude links from stage4 if they already exist in stage32
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clone_stage4 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |