Skip to content

Commit

Permalink
Fix $TMPDIR check in make-nodejs.sh (gorhill#3820)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjethani authored Aug 14, 2021
1 parent 6c2856c commit bafe824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/make-nodejs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ fi
cd -

# Restore saved npm dependencies
if [ -n "$TMPDIR" ]; then
if [ -d "$TMPDIR/node_modules" ]; then
mv "$TMPDIR/node_modules" "$DES/node_modules"
rmdir "$TMPDIR"
fi
Expand Down

0 comments on commit bafe824

Please sign in to comment.