cleaning the binary archive of MySQL before installing it

Asked by Srand

I propose you to use the code below to shrink the size of the archive as we certainly won't use test and debug files with MySQL SandBox :

clean_dirs.sh :

DIR=$1
if [ ! -d "$DIR" ]
then
  echo "Directory not found or not provided $1"
  exit
fi

cd $1
rm -rf docs/ mysql-test sql-bench/ bin/*test* bin/*debug*
strip bin/* lib/* 2>/dev/null
cd ..
echo "Directory $1 cleaned"

maybe an option should be added to make_sandbox and other utilities

Question information

Language:
English Edit question
Status:
Expired
For:
MySQL Sandbox Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.