From 20864c9b26eac29d304d4b50ba958115b790f713 Mon Sep 17 00:00:00 2001 From: bluesky Date: Fri, 27 Sep 2024 13:08:56 +0800 Subject: [PATCH] chore: Add a "" symbol to the variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 给shell变量添加"" 符号避免参数解析错误 Log: add "" symbol --- cmd/ll-pica-flatpak/ll-pica-flatpak | 26 +++++++++--------- cmd/ll-pica-flatpak/ll-pica-flatpak-convert | 30 ++++++++++----------- 2 files changed, 27 insertions(+), 29 deletions(-) diff --git a/cmd/ll-pica-flatpak/ll-pica-flatpak b/cmd/ll-pica-flatpak/ll-pica-flatpak index 814eabc..459a65b 100644 --- a/cmd/ll-pica-flatpak/ll-pica-flatpak +++ b/cmd/ll-pica-flatpak/ll-pica-flatpak @@ -5,11 +5,11 @@ export LL_PICA_FLATPAK_PATH="$(realpath --no-symlinks "$(dirname "${BASH_SOURCE[ export LL_PICA_FLATPAK_CONFIG_FILE="$HOME/.pica/ll-pica-flatpak-config.json" export LL_PICA_FLATPAK_REFS_FILE="$HOME/.pica/ll-pica-flatpak-refs.txt" # 存放 flathub 仓库 refs 的文件 -mkdir -p $HOME/.pica +mkdir -p "$HOME"/.pica if [[ ! -e $LL_PICA_FLATPAK_CONFIG_FILE ]]; then - tee $LL_PICA_FLATPAK_CONFIG_FILE <