You've already forked tcc-winapi
11 lines
253 B
Bash
Executable File
11 lines
253 B
Bash
Executable File
#!/bin/bash
|
|
|
|
include_path=`x86_64-win32-tcc -vv 2>/dev/null | grep 'install:' | awk '{print $2}'`
|
|
|
|
if [ -z "$include_path" ]; then
|
|
echo "TCC for win32 is not installed!"
|
|
exit 1
|
|
fi
|
|
|
|
sudo cp -R include ${include_path} && echo 'Install completed!'
|