aboutsummaryrefslogtreecommitdiffstats
path: root/.functions
diff options
context:
space:
mode:
Diffstat (limited to '.functions')
-rw-r--r--.functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/.functions b/.functions
index c16972c..2481e8a 100644
--- a/.functions
+++ b/.functions
@@ -28,7 +28,7 @@ function cdf() { # short for `cdfinder`
# Create a .tar.gz archive, using `zopfli`, `pigz` or `gzip` for compression
function targz() {
- local tmpFile="${@}.tar"
+ local tmpFile="${@%/}.tar"
tar -cvf "${tmpFile}" --exclude=".DS_Store" "${@}" || return 1
size=$(