diff options
| author | Carlos Maiolino <[email protected]> | 2026-05-02 14:09:27 +0200 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2026-05-02 14:09:27 +0200 |
| commit | 296c6b9ee85209c0ce375717e30686545baea107 (patch) | |
| tree | f0da71650e8f58ca528589ad4e39476732fa5b88 /maintainer/pr-create.sh | |
| parent | b2e1a1cb259e482720430ff9898d2e564ee73d0f (diff) | |
Diffstat (limited to 'maintainer/pr-create.sh')
| -rwxr-xr-x | maintainer/pr-create.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/maintainer/pr-create.sh b/maintainer/pr-create.sh index 62721b0..36387b7 100755 --- a/maintainer/pr-create.sh +++ b/maintainer/pr-create.sh @@ -21,7 +21,7 @@ SUBJECT="" # Email tool NEOMUTT=$(which neomutt) -MUTT_CONFIG="$HOME/.mutt/muttrc-Kernel" +MUTT_CONFIG="$HOME/.mutt/muttrc-kernel" #temp files PULL_FILE=$(mktemp) @@ -116,11 +116,11 @@ TYPE=$(echo $TAG | sed 's/xfs-//' | awk '{split($0, a, "-"); print a[1]}') VER=$(echo $TAG | sed 's/xfs-//' | awk '{split($0, a, "-"); print a[2]}') RC=$(echo $TAG | sed 's/xfs-//' | awk '{split($0, a, "-"); print a[3]}') -if [ $TYPE = "merge" ] && [ $RC ]; then +if [ "$TYPE" = "merge" ] && [ "$RC" ]; then _die "Can't have a -RC tag with a merge tag" fi -if [ $TYPE = "fixes" ] && [ -z $RC ]; then +if [ "$TYPE" = "fixes" ] && [ -z "$RC" ]; then _die "A Fixes tag requires a -RC version" fi |
