Rename *ll* and *ul* to ll and ul in dintlog
[maxima.git] / crosscompile-windows / sbcl.sh
blob62d050be4a5b649fcd6bb51f17e0e13c8f544366
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # recreate SBCL directory structure from the extracted installer
6 mkdir -p contrib
7 # Move files File_obj_sbcl.home_contrib_* in the directory "contrib" and remove the "File_obj_sbcl.home_contrib_"-prefix:
8 for i in File_obj_sbcl.home_contrib_* ; do
9 mv "$i" contrib/$(echo "$i" | sed s/File_obj_sbcl.home_contrib_//)
10 done
11 # Rename files in contrib directory - every but the last "." should be a "-".
12 # (e.g. contrib/sb-bsd.sockets.fasl ==> contrib/sb-bsd-sockets.fasl
13 for i in contrib/sb.* ; do
14 mv "$i" $(echo "$i" | sed 's/\./-/g' | rev | sed s/-/\./ | rev)
15 done