-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
If the directory contains a period, it is assumed to be a file, and archive creation is refused. Are directories with periods in their names looked down upon? There are several such directory names in a regular /etc.
The logic is here:
zippy/src/zippy/tarballs_v1.nim
Lines 49 to 53 in a99f6a7
| if splitFile(dir).ext.len > 0: | |
| raise newException( | |
| ZippyError, | |
| "Error adding dir " & dir & " to tarball, appears to be a file?" | |
| ) |
zippy/src/zippy/ziparchives_v1.nim
Lines 47 to 51 in a99f6a7
| if splitFile(dir).ext.len > 0: | |
| raise newException( | |
| ZippyError, | |
| "Error adding dir " & dir & " to archive, appears to be a file?" | |
| ) |
Cheers!
Metadata
Metadata
Assignees
Labels
No labels