2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # recreate SBCL directory structure from the extracted installer
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_
//)
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)