3 # recreate SBCL directory structure from the extracted installer
6 # Move files File_obj_sbcl.home_contrib_* in the directory "contrib" and remove the "File_obj_sbcl.home_contrib_"-prefix:
7 for i
in File_obj_sbcl.home_contrib_
* ; do
8 mv "$i" contrib
/$
(echo "$i" |
sed s
/File_obj_sbcl.home_contrib_
//)
10 # Rename files in contrib directory - every but the last "." should be a "-".
11 # (e.g. contrib/sb-bsd.sockets.fasl ==> contrib/sb-bsd-sockets.fasl
12 for i
in contrib
/sb.
* ; do
13 mv "$i" $
(echo "$i" |
sed 's/\./-/g' |
rev |
sed s
/-/\.
/ |
rev)