Browse Source

updatewine_debian.sh: update params count

master
Fincer 6 years ago
parent
commit
ccbb067d90
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      debian/updatewine_debian.sh

+ 4
- 4
debian/updatewine_debian.sh View File

@ -48,12 +48,12 @@ done
# Parse input arguments, filter user parameters # Parse input arguments, filter user parameters
# The range is defined in ../updatewine.sh # The range is defined in ../updatewine.sh
# All input arguments are: # All input arguments are:
# <datedir> 4*<githash_override> <args>
# 0 1 2 3 4 5 ...
# Filter all but <args>, i.e. the first 0-4 arguments
# <datedir> 4*<githash_override> 4*<gitbranch_override> <args>
# 0 1 2 3 4 5 6 7 8 9...
# Filter all but <args>, i.e. the first 0-8 arguments
i=0 i=0
for arg in ${params[@]:4}; do
for arg in ${params[@]:8}; do
args[$i]="${arg}" args[$i]="${arg}"
let i++ let i++
done done


Loading…
Cancel
Save