Commit fc1a228a authored by Damian Montero's avatar Damian Montero

Fixing the 'permissions' line at the end of node package

parent 81d6e35c
...@@ -11,18 +11,15 @@ class Node < Package ...@@ -11,18 +11,15 @@ class Node < Package
depends_on 'python27' depends_on 'python27'
def self.build def self.build
case ARCH
when "x86_64"
system "CC='gcc -m64' python2.7 ./configure --without-snapshot" system "CC='gcc -m64' python2.7 ./configure --without-snapshot"
else
system "CC='gcc' python2.7 ./configure --without-snapshot"
end
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
#Fix Permissiongs for -g installs of node packages #Fix Permissiongs for -g installs of node packages
system "sudo chown -R chronos /usr/local/{lib/node_modules,bin,share}" system "sudo chown -R chronos /usr/local/lib/node_modules"
system "sudo chown -R chronos /usr/local/bin"
system "sudo chown -R chronos /usr/local/share"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment