Navigation Menu

Skip to content

Commit

Permalink
apt: don't download the same version MySQL twice
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 29, 2012
1 parent 74b910a commit 90c988e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/apt/build-deb.sh
Expand Up @@ -75,18 +75,18 @@ mkdir -p build
cp /tmp/${PACKAGE}-${VERSION}.tar.gz build/${PACKAGE}_${VERSION}.orig.tar.gz
rm -rf mysql-package
mkdir -p mysql-package
cd mysql-package
apt-get source ${mysql_server_package}
ln -fs \$(find . -maxdepth 1 -type d | sort | tail -1) mysql
cd */debian/..
debuild -us -uc -Tconfigure
make -C builddir/include
make -C builddir/scripts
cd ../..
cd build
ln -fs \$(find ../mysql-package -maxdepth 1 -type d | tail -1) mysql
ln -fs ../mysql-package/mysql ./
tar xfz ${PACKAGE}_${VERSION}.orig.tar.gz
cd ${PACKAGE}-${VERSION}/
Expand Down

0 comments on commit 90c988e

Please sign in to comment.