diff options
Diffstat (limited to 'src/db.sh')
-rw-r--r-- | src/db.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -252,7 +252,7 @@ db_inc_references() dir="${dir}/${binver}_${arch}_${plat}" if [ -f "${dir}/references" ]; then refs="$(cat "${dir}/references")" - refs=$(($refs + 1)) + refs=$((${refs} + 1)) else refs=1 mkdir -p "${dir}" @@ -276,7 +276,7 @@ db_dec_references() dir="${dir}/${binver}_${arch}_${plat}" if [ -f "${dir}/references" ]; then refs="$(cat "${dir}/references")" - refs=$(($refs - 1)) + refs=$((${refs} - 1)) else refs=0 fi |