mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
58ed7b6328
favor link over link.exe in case some wrapper script already exists fallback to "link" in the path if the one next to cl is not found Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 lines
145 B
Bash
Executable File
10 lines
145 B
Bash
Executable File
#!/bin/sh
|
|
|
|
LINK_EXE_PATH=$(dirname "$(command -v cl)")/link
|
|
if [ -x "$LINK_EXE_PATH" ]; then
|
|
"$LINK_EXE_PATH" $@
|
|
else
|
|
link $@
|
|
fi
|
|
exit $?
|