X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fdebian%2Fbuildd-add-keys;h=4ded0f342ea0cf31c4bdd1b19fb123a625db99e5;hb=5ec8ebfaf6690e95ce7a7ffdcd6c298d5dceac90;hp=06ff011d1d9ce11e17e1723462df24b705479378;hpb=f5dc3160a134c8d1e059d94cf51321b8626cc5e1;p=dak.git diff --git a/scripts/debian/buildd-add-keys b/scripts/debian/buildd-add-keys index 06ff011d..4ded0f34 100755 --- a/scripts/debian/buildd-add-keys +++ b/scripts/debian/buildd-add-keys @@ -74,8 +74,8 @@ for file in $(ls -1 ${INCOMING}/*.key); do file=${file##*/} # First we want to see if we recognize the filename. The buildd people have # to follow a certain schema: - # architecture_builddname.YEAR-MONTH-DAY_HOUR:MINUTE.key - if [[ $file =~ (.*)_(.*).([0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{2}:[0-9]{2}).key ]]; then + # architecture_builddname.YEAR-MONTH-DAY_HOURMINUTE.key + if [[ $file =~ (.*)_(.*).([0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{2}[0-9]{2}).key ]]; then ARCH=${BASH_REMATCH[1]} BUILDD=${BASH_REMATCH[2]} # Right now timestamp is unused