Skip to content

Commit

Permalink
Updating bower wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Bezzubov committed Jun 26, 2015
1 parent 7b2e5ce commit 90a5401
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion bower
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
"node/node" "./node_modules/bower/bin/bower" "$@"
node="node/node"

if hash "node" 2>/dev/null ; then
node="node"
fi
"${node}" "./node_modules/bower/bin/bower" "$@"
2 changes: 1 addition & 1 deletion grunt
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ node="node/node"
if hash "node" 2>/dev/null ; then
node="node"
fi
"$node" "./node_modules/.bin/grunt" "$@"
"${node}" "./node_modules/.bin/grunt" "$@"

0 comments on commit 90a5401

Please sign in to comment.