Run update_gitinfo.sh via bash to avoid permission error

This commit is contained in:
Mark Watkins 2018-06-07 15:42:24 +10:00
parent 04420e0a57
commit 2a44d4c1f6

View File

@ -55,8 +55,8 @@ win32 {
system("$$_PRO_FILE_PWD_/update_gitinfo.bat");
gitinfotarget.commands = $$_PRO_FILE_PWD_/update_gitinfo.bat
} else {
system("$$_PRO_FILE_PWD_/update_gitinfo.sh");
gitinfotarget.commands = $$_PRO_FILE_PWD_/update_gitinfo.sh
system("/bin/bash $$_PRO_FILE_PWD_/update_gitinfo.sh");
gitinfotarget.commands = "/bin/bash $$_PRO_FILE_PWD_/update_gitinfo.sh"
}
PRE_TARGETDEPS += git_info.h