diff options
| author | Pavel Egorov <[email protected]> | 2025-06-14 20:50:03 +0300 |
|---|---|---|
| committer | Pavel Egorov <[email protected]> | 2025-06-14 20:50:03 +0300 |
| commit | 725e92e43455bc455a1b2913b907a173b622babe (patch) | |
| tree | 28fc78443db26579daef6da2a4c53af3c1ff374e /.local | |
| parent | 5fcb2bed9e3840d46da75afa7ea6db46e8868472 (diff) | |
| download | dotfiles-725e92e43455bc455a1b2913b907a173b622babe.tar.gz dotfiles-725e92e43455bc455a1b2913b907a173b622babe.zip | |
[script] Fix compress for directories
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/compress | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/compress b/.local/bin/compress index 4054008..83b3eb5 100755 --- a/.local/bin/compress +++ b/.local/bin/compress | |||
| @@ -64,7 +64,7 @@ set tarball "$_flag_name.tar" | |||
| 64 | set files $argv | 64 | set files $argv |
| 65 | 65 | ||
| 66 | if contains $_flag_format $compressor_formats | 66 | if contains $_flag_format $compressor_formats |
| 67 | if test (count $files) -gt 1 | 67 | if test (count $files) -gt 1 -o -d $files |
| 68 | echo "Too many files, packing with tar first" >&2 | 68 | echo "Too many files, packing with tar first" >&2 |
| 69 | create_tarball | 69 | create_tarball |
| 70 | set _flag_name $tarball | 70 | set _flag_name $tarball |
