Set TMPDIR to wd when downgrading permissions.
Set TMPDIR to wd when downgrading permissions.

sh actually seems to freak out if you don't have permission to
write to the TMPDIR env, at least on Solaris.

Volune/npm,rsp/npm,rsp/npm,segrey/npm,cchamberlain/npm,cchamberlain/npm-msys2,thomblake/npm,yodeyer/npm,lxe/npm,kriskowal/npm,evocateur/npm,lxe/npm,evanlucas/npm,segment-boneyard/npm,kemitchell/npm,kemitchell/npm,kimshinelove/naver-npm,ekmartin/npm,TimeToogo/npm,yibn2008/npm,rsp/npm,segrey/npm,kemitchell/npm,thomblake/npm,cchamberlain/npm,segrey/npm,misterbyrne/npm,segmentio/npm,yyx990803/npm,midniteio/npm,kriskowal/npm,cchamberlain/npm,chadnickbok/npm,lxe/npm,DaveEmmerson/npm,evanlucas/npm,chadnickbok/npm,DIREKTSPEED-LTD/npm,yibn2008/npm,midniteio/npm,princeofdarkness76/npm,thomblake/npm,DaveEmmerson/npm,segment-boneyard/npm,TimeToogo/npm,DIREKTSPEED-LTD/npm,cchamberlain/npm-msys2,haggholm/npm,evanlucas/npm,kriskowal/npm,yibn2008/npm,misterbyrne/npm,evocateur/npm,DaveEmmerson/npm,TimeToogo/npm,xalopp/npm,yyx990803/npm,misterbyrne/npm,yodeyer/npm,kimshinelove/naver-npm,Volune/npm,xalopp/npm,haggholm/npm,evocateur/npm,princeofdarkness76/npm,kimshinelove/naver-npm,DIREKTSPEED-LTD/npm,haggholm/npm,Volune/npm,princeofdarkness76/npm,ekmartin/npm,segment-boneyard/npm,segmentio/npm,xalopp/npm,ekmartin/npm,yyx990803/npm,midniteio/npm,chadnickbok/npm,yodeyer/npm,segmentio/npm,cchamberlain/npm-msys2