update.sh: remove unnecessary rm operation#2371
Conversation
Signed-off-by: Stewart X Addison <sxa@ibm.com>
|
I can't explicitly add reviewers so tagging @PeterDaveHello who did the referenced PR that introduced these lines. |
|
@sxa I accepted your request to join the group, since I know you've been active on various other Node Build areas in the past. |
|
Do we have anybody active with macOS who could cross-check? The code was added in 2018 apparently. The PR now has conflicts to be resolved. |
nschonni
left a comment
There was a problem hiding this comment.
Approving, since this likely will only impact the maintainers if it was fixing something. If it is helping on some OS, we'll start to see noise from external people.
Maybe the "fix" for that is just .gitignore anyway
FWIW I cannot execute $ ./update.sh
Updating version 22...
Updating version 24...
Updating version 26...
sed: 2: ":a;N;$!ba;s/\n/\\\\n/g
": unused label 'a;N;$!ba;s/\n/\\\\n/g'
sed: -e: No such file or directory
…It does however leave some FWIW I usually run it with |
Description
This change was added in #757 but I can't see any reason why this piece of code would be executed. The sed command used includes
-iwhich isn't a POSIX standard operation and this code appears to be removing a temporary file that is never actually created because of the use of-i.Would be good if someone on a mac could verify this since that seems to be the platform that resulted in the
-eparameter being added.Motivation and Context
Testing Details
I've ran
update.shand no-tmp-efiles were left behindExample Output(if appropriate)
Types of changes
Checklist