chiark / gitweb /
Infra: get-dm-txt: Honour DGIT_INFRA_GETDMTXT_DATADIR for testing
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 28 Jun 2015 14:54:31 +0000 (15:54 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 28 Jun 2015 14:54:31 +0000 (15:54 +0100)
infra/get-dm-txt

index df715d0..3c3a62c 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -e
 
-cd /srv/dgit.debian.org/data
+cd ${DGIT_INFRA_GETDMTXT_DATADIR-/srv/dgit.debian.org/data}
 
 file=dm.txt
 server=ftp-master.debian.org