Navigation Menu

Skip to content

Commit

Permalink
fix symbolic link path.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 23, 2010
1 parent 5538e23 commit 063cd50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apt/build-deb.sh
Expand Up @@ -44,15 +44,16 @@ cat <<EOF > $BUILD_SCRIPT
rm -rf build
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 -b ${mysql_server_package}
cd ..
ln -fs \$(find mysql-package -maxdepth 1 -type d | tail -1) mysql
cp /tmp/${PACKAGE}-${VERSION}.tar.gz build/${PACKAGE}_${VERSION}.orig.tar.gz
cd build
ln -fs \$(find ../mysql-package -maxdepth 1 -type d | tail -1) mysql
tar xfz ${PACKAGE}_${VERSION}.orig.tar.gz
cd ${PACKAGE}-${VERSION}/
Expand Down

0 comments on commit 063cd50

Please sign in to comment.