mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 11:10:44 +00:00
Run update_gitinfo.sh via bash to avoid permission error
This commit is contained in:
parent
04420e0a57
commit
2a44d4c1f6
@ -55,8 +55,8 @@ win32 {
|
|||||||
system("$$_PRO_FILE_PWD_/update_gitinfo.bat");
|
system("$$_PRO_FILE_PWD_/update_gitinfo.bat");
|
||||||
gitinfotarget.commands = $$_PRO_FILE_PWD_/update_gitinfo.bat
|
gitinfotarget.commands = $$_PRO_FILE_PWD_/update_gitinfo.bat
|
||||||
} else {
|
} else {
|
||||||
system("$$_PRO_FILE_PWD_/update_gitinfo.sh");
|
system("/bin/bash $$_PRO_FILE_PWD_/update_gitinfo.sh");
|
||||||
gitinfotarget.commands = $$_PRO_FILE_PWD_/update_gitinfo.sh
|
gitinfotarget.commands = "/bin/bash $$_PRO_FILE_PWD_/update_gitinfo.sh"
|
||||||
}
|
}
|
||||||
|
|
||||||
PRE_TARGETDEPS += git_info.h
|
PRE_TARGETDEPS += git_info.h
|
||||||
|
Loading…
Reference in New Issue
Block a user