From c0d2e3ec04fa89bcd3fdfed4b90ee8a8f242af4e Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Mon, 3 Apr 2017 16:45:55 +0100 Subject: [PATCH] Fixed docsite building on Ubuntu by explicitly calling bash. Due to sh mapping to dash and not bash. --- docs/build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/build.gradle b/docs/build.gradle index 153034f900..8b2cdf5a1e 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -25,14 +25,14 @@ task apidocs(dependsOn: ['dokka', 'dokkaJavadoc']) task makeDocs(type: Exec, dependsOn: ['installDocsiteRequirements']) { // TODO: Non-msys Windows script - commandLine 'cmd', '/c', 'sh make-docsite.sh' // Windows - commandLine 'sh', './make-docsite.sh' // Linux + commandLine 'cmd', '/c', 'bash make-docsite.sh' // Windows + commandLine 'bash', './make-docsite.sh' // Linux } task installDocsiteRequirements(type: Exec) { // TODO: Non-msys Windows script - commandLine 'cmd', '/c', 'sh install-docsite-requirements.sh' // Windows - commandLine 'sh', './install-docsite-requirements.sh' // Linux + commandLine 'cmd', '/c', 'bash install-docsite-requirements.sh' // Windows + commandLine 'bash', './install-docsite-requirements.sh' // Linux } -apidocs.shouldRunAfter makeDocs \ No newline at end of file +apidocs.shouldRunAfter makeDocs