File: uploadppa.sh

package info (click to toggle)
taskcoach 1.4.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 32,496 kB
  • ctags: 17,810
  • sloc: python: 72,170; makefile: 254; ansic: 120; xml: 29; sh: 16
file content (14 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

make ppa_sign || exit 1

for versionName in lucid precise trusty; do
    for retryCount in 1 2 3 4 5 6 7 8 9 10; do
	make ppa_${1}_$versionName && break
	sleep 20
    done
    # Actually wrong, if wee succeeded on the 10th try...
    if [ "$retryCount" = "10" ]; then
	exit 1
    fi
done