Fix $TMPDIR check in make-nodejs.sh (#3820)

This commit is contained in:
Manish Jethani 2021-08-14 22:01:17 +05:30 committed by GitHub
parent 6c2856cb7e
commit bafe824f09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ fi
cd - cd -
# Restore saved npm dependencies # Restore saved npm dependencies
if [ -n "$TMPDIR" ]; then if [ -d "$TMPDIR/node_modules" ]; then
mv "$TMPDIR/node_modules" "$DES/node_modules" mv "$TMPDIR/node_modules" "$DES/node_modules"
rmdir "$TMPDIR" rmdir "$TMPDIR"
fi fi