X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tools%2Ftinyos%2Fmisc%2Ftos-deluge;h=6542c78c4d84fbbe8ec3e60a4a78cdec4f65452e;hb=737af24e0a669cefb82d266b5f75d95ab0a41c0e;hp=7d8f6e293984299e5113b9e7b2aa6d747080d20a;hpb=1e32a5632688c2de554f45cbdb2b82396e5b1167;p=tinyos-2.x.git 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