Artifact 5db5ed34304a09f8ce2058f90941598157e18791:
- File build/tcc-patches/0.9.26/tcc-0.9.26-unix.diff — part of check-in [6e18ecd7b2] at 2014-06-24 21:32:11 on branch trunk — Fixed patch based on testing from Andreas (user: rkeene, size: 488) [annotate] [blame] [check-ins using]
diff -uNr tcc-0.9.26.orig/configure tcc-0.9.26-1unix/configure --- tcc-0.9.26.orig/configure 2013-02-15 08:24:00.000000000 -0600 +++ tcc-0.9.26-1unix/configure 2014-06-24 16:31:54.358507000 -0500 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # tcc configure script (c) 2003 Fabrice Bellard @@ -527,7 +527,9 @@ esac ;; esac - ln -sfn $tgt $2 + if [ ! -d "$2" ]; then + ln -f -s $tgt $2 + fi } if test "$source_path_used" = "yes" ; then