blob: 9cc3064d2444f6e070798ca5690cd77b22b68f41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/bash -euE
. pbs-plumb-shlib
. $(librelib conf.sh)
cmd=${0##*/}
usage() {
echo "Usage: $cmd [-h]"
echo 'Uploads commited changes to the PBS tree.'
echo ''
echo 'Options:'
echo ' -h Show this message'
}
main() {
in_array '-h' "$@" && { usage; return 0; }
[[ $# = 0 ]] || { usage >&2; return 1; }
load_files abslibre
check_vars abslibre WORKDIR
cd "$WORKDIR/pbs"
git push --all
}
main "$@"
|