summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-04-08 18:22:18 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2008-04-08 19:16:50 +0200
commitab088d5af41a216768becd35dc4f9b84400d4afa (patch)
tree09c64296a57708fed88e46007929b0ebe4e4e50c
parent8a92487774b8d15be627f230a4f8d864cfcc9b8d (diff)
downloaddbscripts-ab088d5af41a216768becd35dc4f9b84400d4afa.tar.gz
dbscripts-ab088d5af41a216768becd35dc4f9b84400d4afa.tar.xz
Remove 'svndir' usage
This was a holdover from the CVS scripts used to import and existing checkout Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rw-r--r--Makefile2
-rw-r--r--db-inc17
2 files changed, 7 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index b66e271..8c24840 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
# mysql db info.
DB_NAME:="archlinux"
DB_USER:="archlinux"
-DB_PASS:="passwords-are-cool"
+DB_PASS:="passwords-are-NOT-cool"
MYSQL_DEFS:=-DDB_NAME=\"$(DB_NAME)\" -DDB_USER=\"$(DB_USER)\" -DDB_PASS=\"$(DB_PASS)\"
MYSQL_FLAGS:=-I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient
diff --git a/db-inc b/db-inc
index fde6f2e..dcd8105 100644
--- a/db-inc
+++ b/db-inc
@@ -83,17 +83,12 @@ cd $TMPDIR
# Checkout the SVN module if we need to
updatelists=
if [ "`ls $stagedir/add 2>/dev/null`" -o "`ls $stagedir/del 2>/dev/null`" ]; then
- # if $svndir is set, then use that instead of doing our own cvs checkout
- if [ "$svndir" ]; then
- mv $svndir $TMPDIR/checkout
- else
- echo "==> Checking out repo: $svnrepo ($arch) - Please be patient"
- svn export -q file://$svnpath $TMPDIR/checkout
- if [ $? -gt 0 ]; then
- die "==> SVN export failed!"
- fi
- fi
- updatelists=1
+ echo "==> Checking out repo: $svnrepo ($arch) - Please be patient"
+ svn export -q file://$svnpath $TMPDIR/checkout
+ if [ $? -gt 0 ]; then
+ die "==> SVN export failed!"
+ fi
+ updatelists=1
else
echo "No files to process"
cleanup 0