]> skyeroc.xyz Git - dgamelaunch/commitdiff
use cp -L for terminfo
authorJoshua Kwan <joshk@triplehelix.org>
Sun, 20 Jun 2004 08:32:06 +0000 (08:32 +0000)
committerJoshua Kwan <joshk@triplehelix.org>
Sun, 20 Jun 2004 08:32:06 +0000 (08:32 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@318 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

Changelog
dgl-create-chroot

index 1fe4600f14d92d905faaffa2b9d2f2e515048ad9..6db8cfaabe7ab48b0aeee61adb5222343a77d179 100644 (file)
--- 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
index 83dea0713cb93dcb6b640390834264808d30f85a..42ac4aba73503a7c3fa436830b525be83750902c 100755 (executable)
@@ -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