[23496] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r23142 - trunk/debathena/third/openafs

daemon@ATHENA.MIT.EDU (andersk@MIT.EDU)
Fri Aug 15 05:09:33 2008

Date: Fri, 15 Aug 2008 05:09:01 -0400 (EDT)
From: andersk@MIT.EDU
Message-Id: <200808150909.FAA11257@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: andersk
Date: 2008-08-15 05:09:00 -0400 (Fri, 15 Aug 2008)
New Revision: 23142

Modified:
   trunk/debathena/third/openafs/debathenify-openafs
Log:
Be specific about which .changes file to upload, since there can now
be more than one.


Modified: trunk/debathena/third/openafs/debathenify-openafs
===================================================================
--- trunk/debathena/third/openafs/debathenify-openafs	2008-08-15 08:50:36 UTC (rev 23141)
+++ trunk/debathena/third/openafs/debathenify-openafs	2008-08-15 09:09:00 UTC (rev 23142)
@@ -169,8 +169,8 @@
 
   # Upload the module if requested, if we successfully built one.
   if [ yes = "$do_upload" ]; then
-    ch=$(ls "$dist_arch/$module"_*.changes 2>/dev/null)
-    if [ -n "$ch" ]; then
+    ch="$dist_arch/${module}_${afsv}+${hdrv}_$arch.changes"
+    if [ -e "$ch" ]; then
       echo "*** Uploading: $dist_arch $module"
       reprepro --ignore=wrongdistribution -Vb "$DEBATHENA_APT" -C openafs \
         include "$dist" $ch


home help back first fref pref prev next nref lref last post