mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	In order to support Docker, this should be able to operate without ssh, e.g. using vagrant-communicator-docker. This removes the buildserverid hack and makes it a provisioner shell script.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/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
 |