blackberry / BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
27 stars 18 forks source link

Naively attempt to create needed directories. #259

Open lewellyn opened 11 years ago

lewellyn commented 11 years ago

This prevents accidentally ending up in a state where the directories end up owned by root.

This fixes blackberry/BB10-Webworks-Packager#258

This does not attempt to fix the issue in blackberry/BB10-Webworks-Framework's configure script. It also forces configure to be run as a non-root user (where "root" == "UID 0").

jeffheifetz commented 11 years ago

This seems like a good fix to me. Could definitely screw up anyone who's using node for the first time with our stuff.