From 0969d00b2b2b220fd409a78d048e71909047721b Mon Sep 17 00:00:00 2001
From: Chizi123 <joelgrun@gmail.com>
Date: Sun, 09 Jun 2019 02:48:41 +0000
Subject: [PATCH] added repo dir

---
 .gitignore    |    2 ++
 repo/build.sh |    9 ++++++++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c2960ef
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+repo
+!repo/build.sh
diff --git a/build.sh b/repo/build.sh
similarity index 85%
rename from build.sh
rename to repo/build.sh
index ea29539..4933924 100644
--- a/build.sh
+++ b/repo/build.sh
@@ -36,11 +36,18 @@
 
 for d in 'emacs-git'
 do
+	if [ "$d" = "x86_64" ]; then
+		continue
+	fi
 	cd $d
 	git pull
 	makepkg
 	latest=$(newest_matching_file '*.pkg.tar.xz')
 	cd ..
-	repo-add ./repo.db.tar.xz $d/$latest
+	rsync $d/$latest x86_64/$latest
+	repo-add ./repo.db.tar.xz x86_64/$latest
 done
 
+git add x86_64
+git commit -m "'$(date +%d/%m/%y)'"
+git push

--
Gitblit v1.9.3