From 95b1364f4aa1bafdcfcbae99387555c9d06c8ce2 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 17 Mar 2025 21:58:55 +0200 Subject: Removes annoying doublespace from first line of AKFS map (sha512sum output oddness) --- lib/_ak_fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/_ak_fs') diff --git a/lib/_ak_fs b/lib/_ak_fs index e14724c..a0a49d3 100755 --- a/lib/_ak_fs +++ b/lib/_ak_fs @@ -364,7 +364,7 @@ function _ak_fs_from_map_get_original_filename(){ then if [ -f "$AK_MAPSDIR/$1" ] then - cat $AK_MAPSDIR/$1 | tr '\n' ' ' | awk '{ print $2 }' + cat $AK_MAPSDIR/$1 | sed -e 's/ / /g;' | tr '\n' ' ' | awk '{ print $2 }' else _ak_log_error "Map $1 was not found" fi -- cgit v1.2.3