summaryrefslogtreecommitdiff
path: root/scripts/patch-renumber.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-27 22:16:59 (GMT)
committerGitHub <noreply@github.com>2017-02-27 22:16:59 (GMT)
commit1ec5e7aa3400b534264ba1c2fa3949dc6a2cca90 (patch)
tree67bf8ce9fc7b7558d39a26a0958399a3f0640baa /scripts/patch-renumber.sh
parent85ae00c1a6331d7738abb406a1eb59091c8a4535 (diff)
parentb3c23b7fdb62f396d47f46d8e3908725570d4acd (diff)
Merge pull request #618 from stilor/revert-sed-require-gnu-sed
Require GNU sed on macos
Diffstat (limited to 'scripts/patch-renumber.sh')
-rwxr-xr-xscripts/patch-renumber.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/patch-renumber.sh b/scripts/patch-renumber.sh
index 602f904..c9650ce 100755
--- a/scripts/patch-renumber.sh
+++ b/scripts/patch-renumber.sh
@@ -59,7 +59,7 @@ for p in "${src}/"*.patch*; do
newname="$(printf "%03d-%s" \
"${cpt}" \
"$( basename "${p}" \
- |${sed_r} -e 's/^[[:digit:]]+[-_]//' \
+ |${sed} -r -e 's/^[[:digit:]]+[-_]//' \
-e "${sed_re}" \
)" \
)"