aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_fs
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-12-11 02:01:06 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-12-11 02:01:06 +0200
commit05628b2c3e720aee60e0b3670c691b9a48f4c1ac (patch)
treec782283e6534aaa792b7d0565a271a08e919eca7 /lib/_ak_fs
parent45e8aacd266490b84619be0f38c30bad1b475107 (diff)
downloadarching-kaos-tools-05628b2c3e720aee60e0b3670c691b9a48f4c1ac.tar.gz
arching-kaos-tools-05628b2c3e720aee60e0b3670c691b9a48f4c1ac.tar.bz2
arching-kaos-tools-05628b2c3e720aee60e0b3670c691b9a48f4c1ac.zip
Compatibility with FreeBSD on split program
Diffstat (limited to 'lib/_ak_fs')
-rwxr-xr-xlib/_ak_fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_ak_fs b/lib/_ak_fs
index 02b789e..510bd12 100755
--- a/lib/_ak_fs
+++ b/lib/_ak_fs
@@ -166,7 +166,7 @@ _ak_fs_import(){
_ak_log_info "Gonna split in $FACTOR size"
sleep 3
# We split the file into 4*1024 bytes and output the chunks into TECHDIR
- split -a 50 -b $FACTOR --additional-suffix ".chk" -d "$FILE" "$TECHDIR/$(basename "$FILE")-"
+ split -a 13 -b $FACTOR -d "$FILE" "$TECHDIR/chunk-"
fi
_ak_log_info "File done splitting"