提交 faffb7df 编写于 作者: B Benjamin Pasero

fix gulp for older node versions

上级 c9d579b8
......@@ -323,7 +323,7 @@ function buildDebPackage(arch) {
], { cwd: '.build/linux/deb/' + debArch});
}
var rpmBuildPath = path.join(os.homedir(), 'rpmbuild');
var rpmBuildPath = typeof os.homedir === 'function' ? path.join(os.homedir(), 'rpmbuild') : null;
function getRpmPackageArch(arch) {
return { x64: 'x86_64', ia32: 'i386' }[arch];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册