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

Tim Johnson notifications at github.com
Thu Jun 13 20:20:41 UTC 2019


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 or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/405
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190613/a8b10ad9/attachment.html>


More information about the Vm-dev mailing list