From 737af24e0a669cefb82d266b5f75d95ab0a41c0e Mon Sep 17 00:00:00 2001 From: razvanm Date: Mon, 14 Jan 2008 17:42:23 +0000 Subject: [PATCH] Correct the PATH_PY_BUILD_IMAGE to autodetect the tos-build-deluge-image. --- tools/tinyos/misc/tos-deluge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tinyos/misc/tos-deluge b/tools/tinyos/misc/tos-deluge index 7d8f6e29..6542c78c 100755 --- a/tools/tinyos/misc/tos-deluge +++ b/tools/tinyos/misc/tos-deluge @@ -29,7 +29,7 @@ from datetime import datetime import os.path # Path to the python script that builds Deluge image from XML -PATH_PY_BUILD_IMAGE = './tos-build-deluge-image' +PATH_PY_BUILD_IMAGE = os.path.join(os.path.dirname(sys.argv[0]), 'tos-build-deluge-image') # TinyOS serial communication parameters FM_AMID = 0xAB -- 2.39.2