Skip to content

Commit d2f871e

Browse files
committed
chore: enhance backport_fix tool
1 parent ae61b2c commit d2f871e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.distro/backport_fix.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/zsh
1+
#!/usr/bin/env zsh
22
#
33
# .distro/backport_fix.sh [options] DISTRO_VERSION JIRA_ISSUE DRACUT_PR [COMMIT_COUNT [COMMITS_ORIGIN_REPO]]
44
#
@@ -184,7 +184,7 @@ echo "${cis}" \
184184

185185
[[ -z $mod ]] || {
186186

187-
mod="$(echo "$mod" | tr -s ' ' | cut -d' ' -f3)"
187+
mod=$(echo -e "$mod" | tr -s ' ' | cut -d' ' -f3)
188188

189189
ls -d $mod
190190

0 commit comments

Comments
 (0)