Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (10 sloc) 189 Bytes
#!/bin/sh
DIR=`echo $0|sed 's/\/dbish//'`
if [ $DIR == . ]; then
DIR=`pwd`
fi
DBNAME=cpandeps
if [ $DIR == /web/cpandeps-dev ]; then
DBNAME=cpandepsdev
fi
mysql -t -u root $DBNAME