diff options
author | a1346054 <36859588+a1346054@users.noreply.github.com> | 2022-07-22 15:48:02 +0000 |
---|---|---|
committer | a1346054 <36859588+a1346054@users.noreply.github.com> | 2022-07-22 15:52:04 +0000 |
commit | 41d67bc44912c87973fb4de2ac53fa11f1b54711 (patch) | |
tree | 8eca56b3683a377a33e05a3c9c14d0d57a3cb5e6 /scripts | |
parent | 160dd877ab6b1e4908697fcf3ca15e869d076cef (diff) |
fix shellcheck warnings in bash scripts
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sdist-sign | 2 | ||||
-rwxr-xr-x | scripts/sign-binaries | 4 | ||||
-rwxr-xr-x | scripts/upload-pypi | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/sdist-sign b/scripts/sdist-sign index 50758a30a..1186bdee8 100755 --- a/scripts/sdist-sign +++ b/scripts/sdist-sign @@ -17,4 +17,4 @@ python setup.py sdist D=dist/borgbackup-$R.tar.gz -$GPG --detach-sign --local-user "Thomas Waldmann" --armor --output $D.asc $D +$GPG --detach-sign --local-user "Thomas Waldmann" --armor --output "$D.asc" "$D" diff --git a/scripts/sign-binaries b/scripts/sign-binaries index 4f145be75..ecbefda13 100755 --- a/scripts/sign-binaries +++ b/scripts/sign-binaries @@ -14,7 +14,7 @@ else fi for file in dist/borg-*; do - $GPG --local-user "Thomas Waldmann" --armor --detach-sign --output $file.asc $file + $GPG --local-user "Thomas Waldmann" --armor --detach-sign --output "$file.asc" "$file" done -touch -t $D dist/* +touch -t "$D" dist/* diff --git a/scripts/upload-pypi b/scripts/upload-pypi index db0ef45f3..618e36f82 100755 --- a/scripts/upload-pypi +++ b/scripts/upload-pypi @@ -15,4 +15,4 @@ fi D=dist/borgbackup-$R.tar.gz -twine upload $D.asc $D +twine upload "$D.asc" "$D" |