File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22FROM=v6.0.0
33TO=.
4+ PROJ=universal-ctags
5+ REPO=ctags
46
57args=(" $@ " )
68
79pr_title ()
810{
911 local N=$1
10- curl --no-progress-meter https://github.com/universal-ctags/ctags /pull/" $N " | grep ' ^ <title>' | \
12+ curl --no-progress-meter https://github.com/${PROJ} / ${REPO} /pull/" $N " | grep ' ^ <title>' | \
1113 sed -e ' s!^[[:space:]]*<title>\(.\+Pull Request #[0-9]*\).*</title>$!* \1!' | \
1214 sed -e " s/'/'/g" -e ' s/&/\&/g' -e ' s/"/"/g' -e ' s/>/>/g' -e ' s/</</g'
1315}
1416
1517issue_title ()
1618{
1719 local N=$1
18- curl --no-progress-meter https://github.com/universal-ctags/ctags /issues/" $N " | grep ' ^ <title>' | \
20+ curl --no-progress-meter https://github.com/${PROJ} / ${REPO} /issues/" $N " | grep ' ^ <title>' | \
1921 sed -e ' s!^[[:space:]]*<title>\(.\+Issue #[0-9]*\).*</title>$!* \1!' | \
2022 sed -e " s/'/'/g" -e ' s/&/\&/g' -e ' s/"/"/g' -e ' s/>/>/g' -e ' s/</</g'
2123}
You can’t perform that action at this time.
0 commit comments