[Groonga-mysql-commit] mroonga/mroonga [master] apt: don't download the same version MySQL twice

Back to archive index

null+****@clear***** null+****@clear*****
2012年 4月 29日 (日) 09:26:09 JST


Kouhei Sutou	2012-04-29 09:26:09 +0900 (Sun, 29 Apr 2012)

  New Revision: 90c988e6c3e649ec4645f6c3d449ac8d06f30121

  Log:
    apt: don't download the same version MySQL twice

  Modified files:
    packages/apt/build-deb.sh

  Modified: packages/apt/build-deb.sh (+2 -2)
===================================================================
--- packages/apt/build-deb.sh    2012-04-29 09:23:07 +0900 (410c9b5)
+++ packages/apt/build-deb.sh    2012-04-29 09:26:09 +0900 (0edb9f7)
@@ -75,10 +75,10 @@ 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
@@ -86,7 +86,7 @@ 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}/




Groonga-mysql-commit メーリングリストの案内
Back to archive index