You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
385 B
19 lines
385 B
#!/bin/bash |
|
if [ $# -eq 0 ]; then |
|
echo 'Qt directory must be specified as argument' |
|
exit 1 |
|
fi |
|
if [ ! -d $1 ] ; then |
|
echo 'Qt directory not found' |
|
exit 1 |
|
fi |
|
cd $1 |
|
rm * |
|
find . ! -name '5.8' -maxdepth 1 -type d -exec rm -rf {} + |
|
cd 5.8 |
|
find . ! -name 'gcc_64' -maxdepth 1 -type d -exec rm -rf {} + |
|
cd clang_64 |
|
rm -rf doc |
|
cd $1 |
|
cd .. |
|
tar -jcvf Qt5.8.0-linux-min.tar.bz2 $1
|
|
|