aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S20_eget
diff options
context:
space:
mode:
Diffstat (limited to 'files/.zsh/rc/S20_eget')
-rw-r--r--files/.zsh/rc/S20_eget4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/.zsh/rc/S20_eget b/files/.zsh/rc/S20_eget
index cdd9713..2a90f3b 100644
--- a/files/.zsh/rc/S20_eget
+++ b/files/.zsh/rc/S20_eget
@@ -8,7 +8,7 @@ function () {
config="$__EGET_CONFIG"
if [ -f "$__EGET_CONFIG_LOCAL" ] ; then
config=$(mktemp -t eget.config.XXXXX --suffix .toml)
- trap "rm '$config'" EXIT
+ trap "command rm '$config'" EXIT
cat "$__EGET_CONFIG" "$__EGET_CONFIG_LOCAL" >"$config" 2>/dev/null
fi
@@ -25,7 +25,7 @@ function () {
y|Y)
unset -f eget
temp_file=$(mktemp)
- trap 'rm -f "$temp_file"' EXIT
+ trap 'command rm -f "$temp_file"' EXIT
mkdir -p "$(dirname "$__EGET_LOCATION")"
curl -o "$temp_file" "$EGET_SCRIPT_URL"
echo "$EGET_SCRIPT_CHECKSUM $temp_file" | shasum --algorithm 256 --check --quiet