Skip to content

Commit

Permalink
keep tempfile
Browse files Browse the repository at this point in the history
  • Loading branch information
k-burt-uch committed Oct 6, 2024
1 parent b50d02c commit e87f3fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gen3/lib/g3k_manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ g3k_kv_filter() {
return 1
fi

local tempFile="$XDG_RUNTIME_DIR/g3k_manifest_filter_$$"
local tempFile="$XDGls_RUNTIME_DIR/g3k_manifest_filter_$$"
cp "$templatePath" "$tempFile"
cat $tempFile
while [[ $# -gt 0 ]]; do
Expand All @@ -160,6 +160,7 @@ g3k_kv_filter() {

sed -E -i 's^[a-zA-Z][a-zA-Z0-9_-]+[|]-(.*)-[|]^\1^g' "$tempFile"
# /bin/rm "$tempFile"
cat $tempFile
gen3_log_info "g3k_kv_filter" "Key-value filter applied successfully"
return 0
}
Expand Down

0 comments on commit e87f3fa

Please sign in to comment.