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
|
@ -22,7 +22,8 @@ get_files() {
|
||||||
fs="${fs} $(echo .[0-z]*)"
|
fs="${fs} $(echo .[0-z]*)"
|
||||||
fi
|
fi
|
||||||
for f in ${fs}; do
|
for f in ${fs}; do
|
||||||
if [ -d "${f}" ]; then
|
# Archive symlinks to directories as symlinks
|
||||||
|
if [ -d "${f}" ] && ! [ -h "${f}" ]; then
|
||||||
cd "${f}"
|
cd "${f}"
|
||||||
get_files "${prefix}/${f}"
|
get_files "${prefix}/${f}"
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Reference in New Issue