[24319] in Source-Commits
/svn/athena r23917 - trunk/debathena/scripts
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Mon Jul 20 22:00:21 2009
Date: Mon, 20 Jul 2009 22:00:10 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <200907210200.n6L20AeR008711@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: geofft
Date: 2009-07-20 22:00:10 -0400 (Mon, 20 Jul 2009)
New Revision: 23917
Modified:
trunk/debathena/scripts/dasource
Log:
dasource: Make option parsing not broken.
Modified: trunk/debathena/scripts/dasource
===================================================================
--- trunk/debathena/scripts/dasource 2009-07-20 16:22:25 UTC (rev 23916)
+++ trunk/debathena/scripts/dasource 2009-07-21 02:00:10 UTC (rev 23917)
@@ -31,13 +31,14 @@
while getopts r: opt; do
case "$opt" in
r)
- type="$OPTARG"
+ repo="$OPTARG"
;;
\?)
usage
;;
esac
done
+shift $(($OPTIND - 1))
do_package() {
pkgname=$1