Skip to content

Commit

Permalink
Atom: dont build with with new node
Browse files Browse the repository at this point in the history
build as normal user with node-8.11
get 'Head out of memory! - Cannot allocate memory' as root user
  • Loading branch information
david committed Jan 24, 2019
1 parent d0134e2 commit 958fb67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions atom.be0
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ mee_build() {
# some scripts in their stupid build system do strange things
# when they see SUDO environment

start_cmd source /package/node/profile

unset SUDO_USER SUDO_UID SUDO_COMMAND SUDO_GID
HOME=${S} start_cmd script/build --install ${D}${PREFIX}
}
Expand Down

0 comments on commit 958fb67

Please sign in to comment.