Check that no symlinks are included in the distribution archives
They're not handled by the current 7z version under MSW if the user doesn't have administrative rights and, instead of dealing with this, it's simpler to just never include any symlinks in the archives as we don't really need them anyhow. So add a check ensuring that no symlinks are included in the distribution archives to avoid more problems such as the one fixed in the parent commit in the future.
This commit is contained in:
parent
d10c4997ea
commit
f2425c5cbd
@ -47,6 +47,18 @@ tar x -C $destdir -i
|
|||||||
|
|
||||||
cd $destdir
|
cd $destdir
|
||||||
|
|
||||||
|
# Check that there are no symlinks because we don't handle them correctly
|
||||||
|
# under MSW systems currently.
|
||||||
|
if ! find . -type l -exec false {} + -quit; then
|
||||||
|
set +x
|
||||||
|
echo 'There are unexpected symlinks in the source tree:' >&2
|
||||||
|
echo '' >& 2
|
||||||
|
find . -type l -fprint /dev/stderr
|
||||||
|
echo '' >& 2
|
||||||
|
echo 'Please remove them or fix #22271.' >&2
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
|
||||||
# Compile gettext catalogs.
|
# Compile gettext catalogs.
|
||||||
make -C $prefix/locale -s MSGFMT=msgfmt allmo
|
make -C $prefix/locale -s MSGFMT=msgfmt allmo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user