dfinity / vessel

The original package manager for Motoko
Apache License 2.0
113 stars 19 forks source link

Vessel tries to rename directories across mount points #4

Closed kritzcreek closed 4 years ago

kritzcreek commented 4 years ago

Manifests itself as Error: Invalid cross-device link (os error 18)

Right now we create temporary directories in $TMPDIR, but if that is on a different mount point (read partition) we get failures when trying to move those.

The solution I'll attempt is to create the temporary directories in .vessel/.tmp instead, which should always be on the correct mount point.