From 9b0e273e7aa8fc80ebd694c6232fddc3e5951d9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Mon, 20 Apr 2015 12:03:25 +0200
Subject: [PATCH] Export: Fixed typo in previous commit.

---
 bin/export.pike | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/export.pike b/bin/export.pike
index 708c53b81e..2756866feb 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);
-- 
GitLab