summaryrefslogtreecommitdiff
path: root/scripts/patch-renumber.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-03-21Move some scripts to a new directory, maintainerAlexey Neyman1-68/+0
... which are not of much interest to the end user. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-27Require GNU sedAlexey Neyman1-1/+1
After much struggling with macos (BSD) sed and even getting everything work in crosstool-ng itself, I had to abandon that because some components rely on GNU syntax. Specifically, GNU libc uses '/.../{H;g}' (note absense of the separator after 'g'). So, revert the -r/-E detection and check for sed's being of GNU origin. MacOS people, sorry, but you'd have to install GNU sed. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-27Revert "Determine whether -E/-r option selects extended regexp"Alexey Neyman1-1/+1
This reverts commit 7bcf18bfab84374d3305c7a088f95ac1219ddf93.
2017-02-27Revert "Fix breakage from sed_r change in some auxiliary scripts"Alexey Neyman1-1/+1
This reverts commit 5ea3f2967f105713ec0c707b4f3da9519912f9d0.
2017-02-16Fix breakage from sed_r change in some auxiliary scriptsAlexey Neyman1-1/+1
... do not overquote the variables from paths.sh. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-14Determine whether -E/-r option selects extended regexpAlexey Neyman1-1/+1
... and then use the right option. See the note in scripts/functions on where we should use ${foo} and where just 'foo'; this boils down to whether we can expect the build tools override to be in effect (e.g. in the actual build scripts) or not (i.e. outside of scripts/build). While running in scripts/functions, or in scripts/crosstool-NG.sh the build tools override directory (.build/tools/bin) may have not been set up (yet, or at all). Also, modify the installed scripts (populate, xldd) accordingly. Signed-off-by: Alexey Neyman <stilor@att.net>
2012-01-16scripts: fix tools overrideYann E. MORIN"1-2/+2
The tools found by the new autostuff configure can contain arguments, for example: grep -E This needs separating the paths set for the Makfile from the paths set for the scripts. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2009-11-12scripts: be POSIXly correct in helper scriptsYann E. MORIN"1-1/+6
Fix helper scripts to be POSIXly correct: don't expect '.' (the dot builtin) to search CWD if it is not in $PATH.
2009-11-10scripts: output renumbered patches in a new directoryYann E. MORIN"1-23/+33
When renumbering patches, the original patches get removed and replaced with the new ones. This can be annoying to loose the original patches. Fix this by putting the new patchs in a directory of their own.
2009-10-27scripts: add sed expression to apply when renumbering patchesYann E. MORIN"1-14/+26
Some patchsets have superfluous members in their names (eg. the ones coming from Gentoo), so it can come in handy to pass a sed RE to strip them out of the final patch name. Also add a 'fake' mode, where the command will only be printed and not executed, so we can check beforehand if the rename will be OK.
2009-10-10scripts: replace calls to svn with calls to hg in script to renumber patchesYann E. MORIN"1-3/+3
2009-02-01Fix patch-renumber:Yann E. MORIN"1-2/+7
- look at the patch directory when using svnversion, not at current directory - some code beautification. /trunk/scripts/patch-renumber.sh | 9 7 2 0 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
2009-01-29Use the path discovered by ./configure in scripts/patch-renumber.shYann E. MORIN"1-1/+5
It now requires that "./configure && make" be run beforehand. /trunk/scripts/patch-renumber.sh | 6 5 1 0 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
2008-12-15Move patch-renumber.sh from tools/ to scripts/Yann E. MORIN"1-0/+32