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

[dak/master] byhand-ftpsync: Check version the same way every time



---
 scripts/debian/byhand-ftpsync | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/debian/byhand-ftpsync b/scripts/debian/byhand-ftpsync
index ab46531..1f68b89 100755
--- a/scripts/debian/byhand-ftpsync
+++ b/scripts/debian/byhand-ftpsync
@@ -62,7 +62,7 @@ if ! echo "$VERSION" | grep -Eq "^[0-9]{8}$"; then
     error "Invalid version: '$VERSION'"
 fi
 
-if [[ ! "${byhand_file}" =~ ^ftpsync-20[0-9]{6}.tar.gz$ ]]; then
+if [[ ! "${byhand_file}" =~ ^ftpsync-[0-9]{8}.tar.gz$ ]]; then
     error "unknown file '${byhand_file}'"
 fi
 
-- 
2.1.4



Reply to: