From 0fa2faf052c6bc0d2a29d86507ccb3f9f9c505df Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 10 Jul 1993 19:06:09 +0000 Subject: [PATCH] Check for symlinks being available in /tmp. From-SVN: r4899 --- gcc/fixincludes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/fixincludes b/gcc/fixincludes index 51616e4fd48..ac031c458ca 100755 --- a/gcc/fixincludes +++ b/gcc/fixincludes @@ -66,6 +66,9 @@ echo Building fixed headers in ${LIB} if ln -s X $LIB/ShouldNotExist 2>/dev/null; then rm -f $LIB/ShouldNotExist LINKS=true +elif ln -s X /tmp/ShouldNotExist 2>/dev/null; then + rm -f /tmp/ShouldNotExist + LINKS=true else LINKS=false fi -- 2.30.2