From 48a8a89efe7ebcf280d62e4c221e7362c82c42e7 Mon Sep 17 00:00:00 2001 From: Chizi123 <joelgrun@gmail.com> Date: Mon, 10 Jun 2019 10:56:38 +0000 Subject: [PATCH] Working with a chroot environment --- build.sh | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/repo/build.sh b/build.sh similarity index 90% rename from repo/build.sh rename to build.sh index 0dce5e0..6b2728d 100644 --- a/repo/build.sh +++ b/build.sh @@ -34,6 +34,9 @@ return 0 } +cd $(dirname "$(realpath $0)") +git rm -r x86_64/*.pkg.tar.xz + for d in `find . -maxdepth 1 -not -path '*/\.*' -type d` do if [ "$d" = "./x86_64" ] || [ "$d" = "." ]; then @@ -50,6 +53,6 @@ cp Chizi123.db.tar.xz x86_64/Chizi123.db cp Chizi123.files.tar.xz x86_64/Chizi123.files -# git add x86_64 -# git commit -m "'$(date +%d/%m/%y-%H:%M)'" -# git push +git add x86_64 +git commit -m "'$(date +%d/%m/%y-%H:%M)'" +git push -- Gitblit v1.9.3