mirror of https://github.com/FFmpeg/FFmpeg.git
Fallback to "link" in the path if the one next to cl is not found. Signed-off-by: Martin Storsjö <martin@martin.st>pull/140/head
parent
a54e720e02
commit
c9edbe4af9
2 changed files with 10 additions and 1 deletions
@ -0,0 +1,9 @@ |
||||
#!/bin/sh |
||||
|
||||
LINK_EXE_PATH=$(dirname "$(command -v cl)")/link |
||||
if [ -x "$LINK_EXE_PATH" ]; then |
||||
"$LINK_EXE_PATH" $@ |
||||
else |
||||
link $@ |
||||
fi |
||||
exit $? |
Loading…
Reference in new issue