From: Richard Stallman Date: Sat, 10 Jul 1993 19:06:09 +0000 (+0000) Subject: Check for symlinks being available in /tmp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0fa2faf052c6bc0d2a29d86507ccb3f9f9c505df;p=gcc.git Check for symlinks being available in /tmp. From-SVN: r4899 --- 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