mirror of https://github.com/gorhill/uBlock.git
Fix $TMPDIR check in make-nodejs.sh (#3820)
This commit is contained in:
parent
6c2856cb7e
commit
bafe824f09
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue