diff options
| author | davidovski <david@davidovski.xyz> | 2022-01-09 20:59:24 +0000 | 
|---|---|---|
| committer | davidovski <david@davidovski.xyz> | 2022-01-09 20:59:24 +0000 | 
| commit | 700946268b95dc5acc6d7ac5b7923e6c3188d2f4 (patch) | |
| tree | 16b0593fb4f7008170d087942c885eb0f5f37adf | |
| parent | f8fae05d3d4cf85af0a208dac25db435953b6971 (diff) | |
fixed missing logs
| -rwxr-xr-x | build-repo.sh | 15 | 
1 files 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 "<h1>repo</h1>" >> $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 | 
