From 2a44d4c1f66c74d20456997f720e0e2dc687c901 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Thu, 7 Jun 2018 15:42:24 +1000 Subject: [PATCH] Run update_gitinfo.sh via bash to avoid permission error --- sleepyhead/sleepyhead.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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