diff --git a/lib/mina/npm/tasks.rb b/lib/mina/npm/tasks.rb index 7f36e0d..1eb5697 100644 --- a/lib/mina/npm/tasks.rb +++ b/lib/mina/npm/tasks.rb @@ -13,8 +13,8 @@ command %{ echo "-----> Installing node modules using Npm" sub_directory=$(pwd | sed -r "s/.*?$(basename $build_path)//g") - #{echo_cmd %[mkdir -p "#{fetch(:deploy_to)}/#{fetch(:shared_path)}/$sub_directory/node_modules"]} - #{echo_cmd %[ln -s "#{fetch(:deploy_to)}/#{fetch(:shared_path)}/$sub_directory/node_modules" "node_modules"]} + #{echo_cmd %[mkdir -p "#{fetch(:shared_path)}/$sub_directory/node_modules"]} + #{echo_cmd %[ln -s "#{fetch(:shared_path)}/$sub_directory/node_modules" "node_modules"]} #{echo_cmd %[#{fetch(:npm_bin)} install #{fetch(:npm_options)}]} } end @@ -26,8 +26,8 @@ command %{ echo "-----> Installing bower modules" sub_directory=$(pwd | sed -r "s/.*?$(basename $build_path)//g") - #{echo_cmd %[mkdir -p "#{fetch(:deploy_to)}/#{fetch(:shared_path)}/$sub_directory/bower_components"]} - #{echo_cmd %[ln -s "#{fetch(:deploy_to)}/#{fetch(:shared_path)}/$sub_directory/bower_components" "bower_components"]} + #{echo_cmd %[mkdir -p "#{fetch(:shared_path)}/$sub_directory/bower_components"]} + #{echo_cmd %[ln -s "#{fetch(:shared_path)}/$sub_directory/bower_components" "bower_components"]} #{echo_cmd %[[ -f bower.json ] && (#{fetch(:bower_bin)} install #{fetch(:bower_options)}) || ! [ -f bower.json ]]} } end