From: Joshua Kwan Date: Sun, 20 Jun 2004 08:32:06 +0000 (+0000) Subject: use cp -L for terminfo X-Git-Tag: v1.6.1-roc-dev~386 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=366737941cd84d38e5493734fdc156c31a045d3a;p=dgamelaunch use cp -L for terminfo git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@318 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/Changelog b/Changelog index 1fe4600..6db8cfa 100644 --- a/Changelog +++ b/Changelog @@ -2,6 +2,9 @@ * Fix some signed/unsigned warnings. * Fix make install check for PREFIX -> $(PREFIX). * Bind with Satan / start using autoconf. + * Fix dgl-create-chroot's copying of terminfo - the terminfo dir + might be full of symlinks, so dereference them by passing -L to + cp. It's SUSv3, honest! 1.4.5 (2004/06/14) * Reset offset if necessary to show at least one game to avoid things diff --git a/dgl-create-chroot b/dgl-create-chroot index 83dea07..42ac4ab 100755 --- a/dgl-create-chroot +++ b/dgl-create-chroot @@ -122,7 +122,8 @@ fi if [ -n "$termdata" ]; then mkdir -p $chroot_path`dirname $termdata` if [ -d $termdata/. ]; then - cp -R $termdata/. $chroot_path$termdata + # $termdata might be full of symlinks, like Debian is + cp -L -R $termdata/. $chroot_path$termdata else cp $termdata $chroot_path`dirname $termdata` fi