Commit 095449d3 authored by Theodor-Adrian Stana's avatar Theodor-Adrian Stana

Changes to output to correct file name (was "ttlbl-*")

parent 79b68346
......@@ -108,7 +108,7 @@ if __name__ == '__main__':
parser.add_option("-l", "--lun", help="Logical Unit Number", type="int", default=ELMASLOT, dest="lun")
parser.add_option("-s", "--snum", help="Serial number(s)", dest="snum", action="store", nargs=2, default=("0","0"))
parser.add_option("-n", "--name", help="Board name", dest="board_name", default="ttlbl")
parser.add_option("-n", "--name", help="Board name", dest="board_name", default=BOARD)
parser.add_option("-b", "--bus", help="Bus VME/PCI/SKT", dest="bus_type", default="SKT")
parser.add_option("-o", "--outdir", help="Path to log directory", dest="dir_name", default=".")
parser.add_option("-d", "--debug", help="Debug Option", dest="debug", default=False, action="store_true")
......@@ -39,6 +39,8 @@
# TODO: -
# ELMA crate definitions
......@@ -10,7 +10,7 @@ try:
with open("ubuntu/%s/pyts/" % (sys.argv[1]), "r+") as f:
buf =
buf = Template(buf)
buf = buf.substitute(ELMAIP=sys.argv[2], ELMAPWD=sys.argv[3], ELMASLOT=sys.argv[4])
buf = buf.substitute(BOARD=sys.argv[1], ELMAIP=sys.argv[2], ELMAPWD=sys.argv[3], ELMASLOT=sys.argv[4])
......@@ -34,6 +34,7 @@ try:
buf = buf.substitute(ELMAIP=sys.argv[2], ELMAPWD=sys.argv[3])
except IndexError:
print("ERROR: Are you sure you give all the makefile variables as input?")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment