changeset 3300:cac692d87f7e octave-forge

strip directory name from the bundle
author adb014
date Sun, 01 Apr 2007 07:30:30 +0000
parents b50896cdcc20
children fb8523a8c81c
files admin/build-www.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/admin/build-www.py	Fri Mar 30 14:35:44 2007 +0000
+++ b/admin/build-www.py	Sun Apr 01 07:30:30 2007 +0000
@@ -266,7 +266,7 @@
 
 def main():
     ## Identify the package bundle
-    cmd = 'find ../packages -name "octave-forge-bundle*.tar.gz" -prune -type f -print';
+    cmd = 'find ../packages -name "octave-forge-bundle*.tar.gz" -prune -type f -print | sed -e "s|^.*/||"';
     bundle = None;
     for file in os.popen(cmd).readlines():
         bundle = file[:-1];