提交 8ba2566f 编写于 作者: B Bastian Blank 提交者: Joerg Jaspert

byhand-ftpsync: Use correct version variable

上级 07283fe7
......@@ -58,8 +58,8 @@ error() {
# Check validity of version number
# Expected: YYYYMMDD
if ! echo "$VERSION" | grep -Eq "^[0-9]{8}$"; then
error "Invalid version: '$VERSION'"
if ! echo "$version" | grep -Eq "^[0-9]{8}$"; then
error "Invalid version: '$version"
fi
if [[ ! "${byhand_file}" =~ ^ftpsync_[0-9]{8}_all.tar.gz$ ]]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册