Module: check_mk
Branch: master
Commit: 6630e05e208885a721ab4dfda85a5348d31c2c44
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6630e05e208885…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Oct 18 08:48:16 2017 +0200
Made symlink calls compatible with old debian
Change-Id: Ie734883f130c6624d7fd3764a1b7091b949d5c82
---
agents/windows/make-chroot | 2 +-
agents/windows/test/build-googletest | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/agents/windows/make-chroot b/agents/windows/make-chroot
index c1c5247..9a76a7e 100755
--- a/agents/windows/make-chroot
+++ b/agents/windows/make-chroot
@@ -141,7 +141,7 @@ EOF
# Debian pkg installation does not seem to link python executable
if [ ! -h $CHROOT_PATH/usr/bin/python ] ; then
- ln -frs $CHROOT_PATH/usr/bin/python2.7 $CHROOT_PATH/usr/bin/python
+ ln -sf python2.7 $CHROOT_PATH/usr/bin/python
fi
# We need to enable 32bit Wine
diff --git a/agents/windows/test/build-googletest b/agents/windows/test/build-googletest
index 48b07d9..1ccfc24 100755
--- a/agents/windows/test/build-googletest
+++ b/agents/windows/test/build-googletest
@@ -31,7 +31,7 @@ for project in test mock ; do
cp -r include/g${project} /usr/share/mingw-w64/include/
for arch in 32 64 ; do
cp ${builddirs[$arch]}/lib/.libs/libg${project}.a
/usr/${archs[$arch]}${common}/lib/
- ln -frs /usr/share/mingw-w64/include/g${project}
/usr/${archs[$arch]}${common}/include/g${project}
+ ln -sf ../../share/mingw-w64/include/g${project}
/usr/${archs[$arch]}${common}/include/g${project}
done
cd -
done