diff --git a/build_ohana.sh b/build_ohana.sh index 1803a9cba7486a9013fcd1f79089f6f4f3744a5d..632e1ec10d2e8dd7f3b488372c11b9930760ba0e 100755 --- a/build_ohana.sh +++ b/build_ohana.sh @@ -81,8 +81,8 @@ echo "Setting up es lint and gulp ..." rm .eslintignore ln -s ../.eslintignore .eslintignore ln -s ../dashboards.js gulp-tasks/dashboard.js -sed '3 i const { compileDashboard } = require\(\'\.\/gulp-tasks\/dashboard\'\);' gulpfile.js -sed -i 's/parallel\(compileSass\, compileJS\)/parallel\(compileSass\, compileJS\, compileDashboard\)/g' gulpfile.js +sed -i "3 i const { compileDashboard } = require('./gulp-tasks/dashboard');" gulpfile.js +sed -i "s/parallel(compileSass, compileJS)/parallel(compileSass, compileJS, compileDashboard)/g" gulpfile.js echo "**************************************************************************************" echo "Done setting up es lint."