mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 07:11:09 +00:00
Fix: update-npm-binaries don't include main mudule's dependencies binary files
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
NPM_DIR=~/node_modules;
|
||||
TARGET_BIN_PATH=~/.local/bin;
|
||||
PACKAGES_WITH_BIN=$( find "$NPM_DIR" -name 'bin' );
|
||||
PACKAGES_WITH_BIN=$( find "$NPM_DIR" -maxdepth 2 -name 'bin' );
|
||||
|
||||
cd $TARGET_BIN_PATH;
|
||||
for i in $PACKAGES_WITH_BIN;do
|
||||
|
||||
Reference in New Issue
Block a user