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
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
To post a message you must log in.