[OpenSmalltalk/opensmalltalk-vm] Fix checkSCCSversion invocation in mvm scripts of linux build subdirectories (#405)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] Fix checkSCCSversion invocation in mvm scripts of linux build subdirectories (#405)

Eliot Miranda-4
 

Currently the mvm scripts within Linux build directories are failing to properly invoke checkSCCSversion because their those directories are nested three levels deep rather than two (as in other platforms).

To fix, update all mvm scripts within three-level nested linux build directories to invoke
../../../scripts/checkSCCSversion

rather than
../../scripts/checkSCCSversion

I believe this can be accomplished by executing the following one-liner from the repo root:

for f in $(find . -name mvm -exec grep -q checkSCCS {} \; -print | awk -F/ 'NF == 5 { print $0 }') ; do printf "g/checkSCCSversion/s/\.\.\//&\.\.\//\nw\nq" | ed ${f} ; done


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/405?email_source=notifications\u0026email_token=AIJPEW3I7MYNFMJIU7F7SJ3P2KTZTA5CNFSM4HX6KOJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZNAM4A", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/405?email_source=notifications\u0026email_token=AIJPEW3I7MYNFMJIU7F7SJ3P2KTZTA5CNFSM4HX6KOJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZNAM4A", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>