diff --git a/.scripts/.build_package.js b/.scripts/.build_package.js index b5f42fd2a1..20becf0deb 100644 --- a/.scripts/.build_package.js +++ b/.scripts/.build_package.js @@ -12,6 +12,6 @@ _.each(apps, function(item){ if(stat.isDirectory() === true) { let packagePath = path.join(fPath, "steedos-app") - execSync(`steedos package:build -n ${item} -p ${packagePath}`); + execSync(`cd ${fPath} && steedos package:build -n ${item} -p ${packagePath}`); } })