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

[Git][ftp-team/dak][master] ls-tree doesnt seem to like *, so without and get rid of __init__.py then



Title: GitLab

Joerg Jaspert pushed to branch master at Debian FTP Team / dak

Commits:

1 changed file:

Changes:

  • config/deploy/deploy.functions
    ... ... @@ -26,7 +26,7 @@ function check_commit_signature() {
    26 26
     function check_for_db_update() {
    
    27 27
         # Check: Do we have a DB Upgrade?
    
    28 28
         if [[ -n ${NEEDDB} ]]; then
    
    29
    -        NEWDBVER=$(GIT_DIR=${masterdir}/.git git ls-tree origin/deploy dak/dakdb/update*.py|sort -V -k 4|tail -n 1)
    
    29
    +        NEWDBVER=$(GIT_DIR=${masterdir}/.git git ls-tree origin/deploy dak/dakdb/|grep -v '__init__.py'|sort -V -k 4|tail -n 1)
    
    30 30
             NEWDBVER=${NEWDBVER##*update}
    
    31 31
             declare -r NEWDBVER=${NEWDBVER%%.py}
    
    32 32
         fi
    


  • Reply to: