diff --git a/sleepyhead/sleepyhead.pro b/sleepyhead/sleepyhead.pro index b2511e00..d903fffc 100644 --- a/sleepyhead/sleepyhead.pro +++ b/sleepyhead/sleepyhead.pro @@ -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