From: Stephen Warren <swarren@xxxxxxxxxx> The default value was being assigned to a global rather than a field in the argparser result. Reported-by: Thierry Reding <thierry.reding@xxxxxxxxx> Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx> --- tegra-uboot-flasher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tegra-uboot-flasher b/tegra-uboot-flasher index ac727a0..f1abe54 100755 --- a/tegra-uboot-flasher +++ b/tegra-uboot-flasher @@ -294,7 +294,7 @@ if not args.data_dir and not args.force_no_out_dir: if args.debug: print 'Detected build tree; using ' + out_data_dir + ' as data dir' args.data_dir = out_data_dir if not args.data_dir: - data_dir = '/usr/share/tegra_uboot_flasher' + args.data_dir = '/usr/share/tegra_uboot_flasher' load_configs(os.path.join(args.data_dir, 'configs')) -- 1.8.1.5 -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html