nixpkgs-suyu/pkgs/servers/sql/mysql/jdbc/builder.sh
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

9 lines
168 B
Bash

source $stdenv/setup
set -e
unzip $src
cd mysql-connector-java-*
mkdir -p $out/share/java
cp mysql-connector-java-*-bin.jar $out/share/java/mysql-connector-java.jar