diff --git a/bin/export.pike b/bin/export.pike index 708c53b81ef76afd3f0cb6ba34892e1a694acbd9..2756866feb872369e9a545a58967e0d6834ff303 100755 --- a/bin/export.pike +++ b/bin/export.pike @@ -345,7 +345,7 @@ int main(int argc, array(string) argv) } string revision = git_cmd("rev-list", "-1", "HEAD"); - string source = ((git_cmd("ls-tree", "HEAD", "src")/"\t")[-1]/" ")[-1]; + string source = ((git_cmd("ls-tree", "HEAD", "src")/"\t")[0]/" ")[-1]; t = t||time(); mapping m = gmtime(t);