diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-09-01 14:15:27 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-09-01 14:15:27 +0300 |
commit | 1c1930ac5260847b9b6e63caf3ba844be8a7d41f (patch) | |
tree | 427078c4398d379dfafb0edf81ca1bb66b34a5a4 | |
parent | cd26df51a1cb73e3f0a475b83bf7f8c6e67176f7 (diff) | |
download | beam-1c1930ac5260847b9b6e63caf3ba844be8a7d41f.tar.gz beam-1c1930ac5260847b9b6e63caf3ba844be8a7d41f.tar.bz2 |
Bugfix.
* cleaner.in: Fix regexp for extracting week number from the filename.
-rwxr-xr-x | cleaner.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,3 +90,3 @@ fi | | |||
90 | $verbose \# considering $name | 90 | $verbose \# considering $name |
91 | week=$(expr "$name" : '[^-][^-]*-\([0-9][0-9]*\)-.*') | 91 | week=$(expr "$name" : '.*-\([0-9][0-9]*\)-[0-9][0-9]*-[0-9][0-9]*.*$') |
92 | if [ $thisweek -ge $week ]; then | 92 | if [ $thisweek -ge $week ]; then |