From 700946268b95dc5acc6d7ac5b7923e6c3188d2f4 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 9 Jan 2022 20:59:24 +0000 Subject: fixed missing logs --- build-repo.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/build-repo.sh b/build-repo.sh index 6b1b1a2..7bdd3ef 100755 --- a/build-repo.sh +++ b/build-repo.sh @@ -1,12 +1,9 @@ -#!/bin/bash +!/bin/bash XIBUILD=./xibuild fetch () { - #git clone https://git.davidovski.xyz/xilinux/xipkgs - - rsync -r ../buildfiles/ xipkgs - + git clone https://git.davidovski.xyz/xilinux/buildfiles mkdir dist } @@ -18,12 +15,15 @@ build () { echo-head "repo" >> $REPOS_INDEX echo "

repo

" >> $REPOS_INDEX - for REPO in $(du -h xipkgs/repo/* | awk '{print $2}' | sort -r ); do + for REPO in $(du -h buildfiles/repo/* | awk '{print $2}' | sort -r ); do REPO_NAME=$(echo $REPO | cut -d"/" -f2-) REPO_INDEX=dist/$REPO_NAME/index.html REPO_LIST_OLD=dist/$REPO_NAME/packages.txt REPO_LIST=dist/$REPO_NAME/packages.list + touch $REPO_INDEX + touch $REPO_LIST_OLD + touch $REPO_LIST start-index $REPO_NAME $REPO_INDEX @@ -136,6 +136,7 @@ generate-package-list () { add-additional () { # move logs and sources + mkdir -pv dist/$REPO_NAME/logs mv logs/* dist/$REPO_NAME/logs mkdir -p dist/$REPO_NAME/src @@ -148,7 +149,7 @@ add-additional () { } clean () { - rm -rf xipkgs + rm -rf buildfiles rm -rf logs rm -rf tmp rm -rf xibuild.log -- cgit v1.2.1