Skip to content

Commit

Permalink
tries to fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanpedersen authored Sep 13, 2016
1 parent 3905856 commit 293f33d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/compile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#!/usr/bin/env bash

ENV_DIR=${3:-}
build_dir=${1:-}
npmrc="$(cat $ENV_DIR/NPMRC)"

if [ "$npmrc" != "" ]; then
echo "-----> Using NPMRC"
ln -s "$1/.npmrc" "$HOME/.npmrc"
echo "$ssh_key" > "$HOME/.npmrc"

echo "$npmrc" > "$build_dir/.npmrc"
exit 0
else
echo "-----> No NPMRC"
Expand Down

0 comments on commit 293f33d

Please sign in to comment.