diff options
author | Treeve Jelbert | 2019-02-23 11:37:14 +0100 |
---|---|---|
committer | Treeve Jelbert | 2019-02-23 11:38:50 +0100 |
commit | 7d565bc2767cbc92b4150d233c172b5d31301d45 (patch) | |
tree | 92f339ef0d73c2205bcade07157512ed5bf5bcc4 /protect_special_libs | |
parent | f686a6d1c63365006bb24355be78a78e51d45521 (diff) |
protect_special_libs - tweak
Diffstat (limited to 'protect_special_libs')
-rw-r--r-- | protect_special_libs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/protect_special_libs b/protect_special_libs index b258c61a9f..371b376e79 100644 --- a/protect_special_libs +++ b/protect_special_libs @@ -4,11 +4,13 @@ # candidate spells for this would be glibc, ncurses, readline lock_resources "libgrimoire" "install" && -PROTECT=$SOURCE_DIRECTORY/$SPELL.old.libs && +PROTECT=$BUILD_DIRECTORY/$SPELL.oldlibs && if [[ -z $INSTALL_ROOT ]]; then protect_special_libs() { - mkdir -p $PROTECT && + message "${MESSAGE_COLOR}Protecting special libraries${DEFAULT_COLOR}" && + mk_source_dir $PROTECT && + local each && for each in /lib{,64,32}/*; do if test -f "$each"; then @@ -23,6 +25,7 @@ fi # these two fucnctions do_dispel() { + message "${MESSAGE_COLOR}Dispelling $SPELL${DEFAULT_COLOR}" && if spell_ok $SPELL; then dispel --notriggers --nosustain $SPELL fi |