From: Jan Kiszka <[email protected]> Use $(command) consistently in the file.
Signed-off-by: Jan Kiszka <[email protected]> --- scripts/make_release | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/make_release b/scripts/make_release index 1f10576..38a772f 100755 --- a/scripts/make_release +++ b/scripts/make_release @@ -29,7 +29,7 @@ if [ ! -f VERSION ] || [ ! -d .git ]; then exit 1 fi -if [ -n "`git status -s -uno`" ]; then +if [ -n "$(git status -s -uno)" ]; then echo "Working directory is dirty!" exit 1 fi @@ -42,8 +42,8 @@ if [ "$answer" != "y" ]; then exit 1 fi -echo -e "Tag commit\n\n `git log -1 --oneline`" -echo -e "\nof branch\n\n `git branch | sed -n 's/^\* //p'`" +echo -e "Tag commit\n\n $(git log -1 --oneline)" +echo -e "\nof branch\n\n $(git branch | sed -n 's/^\* //p')" echo -ne "\nas $name? (y/N) " read answer if [ "$answer" != "y" ]; then -- 2.34.1 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/0f0fc3562043d00131f01277c7cb391d223b8c28.1650458258.git.jan.kiszka%40siemens.com.
