[gnome-live] Added new gitprep script



commit 0c5377d4f08d71dc45581d400cd477e9c749be5d
Author: Ken VanDine <kvandine gnome org>
Date:   Tue Jun 30 21:27:37 2009 -0400

    Added new gitprep script

 dev-kit/scripts/gitprep |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/dev-kit/scripts/gitprep b/dev-kit/scripts/gitprep
new file mode 100755
index 0000000..eb28777
--- /dev/null
+++ b/dev-kit/scripts/gitprep
@@ -0,0 +1,26 @@
+#!/bin/bash
+#
+# Copyright (C) 2009 Ken VanDine <kvandine gnome 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: gitprep 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/git.gnome.org_"$package"_/git
+fi



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