Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6241bac

Browse files
fix: use error instead of echo
1 parent55c67d6 commit6241bac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎scripts/sign_with_gpg.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ requiredenvs CODER_GPG_RELEASE_KEY_BASE64
1919
FILE_TO_SIGN="$1"
2020

2121
if [[-z"$FILE_TO_SIGN" ]];then
22-
echo"Usage:$0 <file_to_sign>"
22+
error"Usage:$0 <file_to_sign>"
2323
fi
2424

2525
if [[!-f"$FILE_TO_SIGN" ]];then
26-
echo"File not found:$FILE_TO_SIGN"
26+
error"File not found:$FILE_TO_SIGN"
2727
fi
2828

2929
# Import the GPG key.
@@ -55,5 +55,5 @@ fi
5555
if [[$verification_result-eq 0 ]];then
5656
echo"${FILE_TO_SIGN}.asc"
5757
else
58-
echo"Signature verification failed!">&2
58+
error"Signature verification failed!">&2
5959
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp