1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 01:27:12 +02:00

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

View File

@ -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