replace perl with sed
This commit is contained in:
parent
f136b7facb
commit
b26935af4f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51021
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ cd $BUILDDIR/head || exit 1;
|
|||
# get latest revision
|
||||
LATESTREVISION=$LOGDIR/LATESTREVISION
|
||||
make -C en_US.ISO8859-1/articles/pam/ SRCS="$(pwd)" -V LATESTREVISION | \
|
||||
perl -npe 's,--stringparam\s+,\n,g' > $LATESTREVISION
|
||||
sed -E 's/--stringparam[ ]+/!/g' | tr '!' '\n' > $LATESTREVISION
|
||||
|
||||
time make ${BUILDARGS} p-all >> $LOGFILE 2>&1 ||
|
||||
(cat $LATESTREVISION >> $LOGFILE
|
||||
|
|
Loading…
Reference in a new issue