Lines 134-148
reregister-all-common-lisp-implementatio
Link Here
|
134 |
# Written by Kevin Rosenberg <kmr@debian.org> |
134 |
# Written by Kevin Rosenberg <kmr@debian.org> |
135 |
# GPL-2 license |
135 |
# GPL-2 license |
136 |
local clc_bin_dir=/usr/$(get_libdir)/common-lisp/bin |
136 |
local clc_bin_dir=/usr/$(get_libdir)/common-lisp/bin |
137 |
local opt=$(shopt nullglob); shopt -s nullglob |
137 |
eshopts_push -s nullglob |
138 |
cd $clc_bin_dir |
138 |
pushd $clc_bin_dir >/dev/null |
139 |
for impl_bin in *.sh; do |
139 |
for impl_bin in *.sh; do |
140 |
impl=$(echo $impl_bin | sed 's/\(.*\).sh/\1/') |
140 |
impl=$(echo $impl_bin | sed 's/\(.*\).sh/\1/') |
141 |
unregister-common-lisp-implementation $impl |
141 |
unregister-common-lisp-implementation $impl |
142 |
register-common-lisp-implementation $impl |
142 |
register-common-lisp-implementation $impl |
143 |
done |
143 |
done |
144 |
cd - >/dev/null |
144 |
popd >/dev/null |
145 |
[[ $opt = *off ]] && shopt -u nullglob |
145 |
eshopts_pop |
146 |
} |
146 |
} |
147 |
|
147 |
|
148 |
# BIG FAT HACK: Since the Portage emerge step kills file timestamp |
148 |
# BIG FAT HACK: Since the Portage emerge step kills file timestamp |