gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] Re: ANN: Linux Kernel Arch Repository


From: Miles Bader
Subject: Re: [Gnu-arch-users] Re: ANN: Linux Kernel Arch Repository
Date: Tue, 30 Sep 2003 13:34:19 -0400
User-agent: Mutt/1.3.28i

On Tue, Sep 30, 2003 at 11:08:32AM -0500, John Goerzen wrote:
> Yes, and it even printed a message saying it was renaming.  But no error
> messages.

Ok, I think I found the problem; either get the latest version of tla-tools,
or apply the following patch:


M  tla-munge-archive-names.shpp

* modified files

--- orig/tla-munge-archive-names.shpp
+++ mod/tla-munge-archive-names.shpp
@@ -582,8 +582,22 @@
         new_pfx = new_pfx parts[i] "/"
     }
 
-    if (version_mungeable(old_ver)) {
-      new_ver = munge_version_name(old_ver)
+    if (new_pfx in pfx_archives)
+      archive = pfx_archives[new_pfx]
+    else {
+       if ((getline archive < (new_pfx "=meta-info/name")) < 0) {
+        print "'"$me"': No archive name found in " new_pfx "!" |"cat 1>&2"
+         archive = "???"
+       } else
+        close ("=meta-info/name")
+
+       pfx_archives[new_pfx] = archive
+    }
+
+    if (version_mungeable(archive "/" old_ver)) {
+      new_ver = munge_version_name(archive "/" old_ver)
+      split (new_ver, parts, "/")
+      new_ver = parts[2]
 
       split (new_ver, parts, "--")
       new_dir =
       new_pfx                                                \



-Miles
-- 
Run away!  Run away!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]