mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-05 19:05:24 +01:00
Fix a packaging bug
Previously, symlinks to directories were followed early in the bootstrap. This is incorrect behaviour. While never actually encountered (hence no checksum changes), this could be a problem.
This commit is contained in:
parent
070e9dacc5
commit
2577d2e704
1 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,8 @@ get_files() {
|
|||
fs="${fs} $(echo .[0-z]*)"
|
||||
fi
|
||||
for f in ${fs}; do
|
||||
if [ -d "${f}" ]; then
|
||||
# Archive symlinks to directories as symlinks
|
||||
if [ -d "${f}" ] && ! [ -h "${f}" ]; then
|
||||
cd "${f}"
|
||||
get_files "${prefix}/${f}"
|
||||
cd ..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue