gnome-live r7 - trunk/dev-kit/scripts



Author: kvandine
Date: Wed Jan 16 04:10:20 2008
New Revision: 7
URL: http://svn.gnome.org/viewvc/gnome-live?rev=7&view=rev

Log:
Added svnprep script

Added:
   trunk/dev-kit/scripts/svnprep   (contents, props changed)

Added: trunk/dev-kit/scripts/svnprep
==============================================================================
--- (empty file)
+++ trunk/dev-kit/scripts/svnprep	Wed Jan 16 04:10:20 2008
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# Copyright (C) 2008 Ken VanDine <ken vandine org>
+#
+# Licensed under the GNU General Public License Version 2
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+package=$1 
+workingDir=$HOME/conary/gnome.rpath.org/gnome/trunk
+cacheDir=$HOME/conary/cache
+
+if  [ $# -ne 1  ]
+then
+        echo "usage: svnprep PACKAGENAME"
+        exit
+else
+        cd $workingDir
+        cvc co $package
+        cd $workingDir/$package
+        cvc refresh $package--.tar.bz2
+        echo Your checkout can be found at $cacheDir/$package/svn.gnome.org_svn_"$package"_trunk_/svn
+fi
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]