]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tools/tinyos/ncc/nesdoc.in
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tools / tinyos / ncc / nesdoc.in
index eaad3cbd0c925ce4a3095307dd1a15470402215f..8c76fbc4a4f3d25621fba0cfc227be4f523203b1 100644 (file)
@@ -68,7 +68,7 @@ for ($i = 0; $i <= $#ARGV; $i++) {
     $_ = $ARGV[$i];
     if (/^-/) {
        if (/^-topdir=(.*)/) {
-            push @archive_args, $1;
+            push @archive_args, "--topdir=$1";
            $strip = 1;
        }
        elsif (/^--version$/) {