From 1a685c94be6ce7fa414e9ec2b9ea8def91c67b34 Mon Sep 17 00:00:00 2001 From: Nathan Chowning Date: Mon, 21 May 2018 21:24:42 -0400 Subject: [PATCH] Relocator default dir is now same as wherever fusee-launcher.py is --- fusee-launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fusee-launcher.py b/fusee-launcher.py index 4b07c70..4d323a4 100755 --- a/fusee-launcher.py +++ b/fusee-launcher.py @@ -571,7 +571,7 @@ parser.add_argument('-w', dest='wait', action='store_true', help='wait for an RC parser.add_argument('-V', metavar='vendor_id', dest='vid', type=parse_usb_id, default=None, help='overrides the TegraRCM vendor ID') parser.add_argument('-P', metavar='product_id', dest='pid', type=parse_usb_id, default=None, help='overrides the TegraRCM product ID') parser.add_argument('--override-os', metavar='platform', dest='platform', type=str, default=None, help='overrides the detected OS; for advanced users only') -parser.add_argument('--relocator', metavar='binary', dest='relocator', type=str, default="intermezzo.bin", help='provides the path to the intermezzo relocation stub') +parser.add_argument('--relocator', metavar='binary', dest='relocator', type=str, default="%s/intermezzo.bin" % os.path.dirname(os.path.abspath(__file__)), help='provides the path to the intermezzo relocation stub') parser.add_argument('--override-checks', dest='skip_checks', action='store_true', help="don't check for a supported controller; useful if you've patched your EHCI driver") parser.add_argument('--allow-failed-id', dest='permissive_id', action='store_true', help="continue even if reading the device's ID fails; useful for development but not for end users") arguments = parser.parse_args()