File: provision-buildserverid

package info (click to toggle)
fdroidserver 2.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,948 kB
  • sloc: python: 34,139; xml: 2,186; sh: 1,362; java: 293; makefile: 54; javascript: 23
file content (9 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/bash -e

test -n "$1"

echo "Writing buildserver ID ...ID is $1"
set -x
echo "$1" > /home/vagrant/buildserverid
# sync data before we halt() the machine, we had an empty buildserverid otherwise
sync