From b52d6d7381320960416b02cf0836527c09529d37 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 02:51:39 +0000 Subject: made changes allowing for meta packages --- build-repo.sh | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'build-repo.sh') diff --git a/build-repo.sh b/build-repo.sh index a4aeb8c..b6dc93f 100755 --- a/build-repo.sh +++ b/build-repo.sh @@ -17,13 +17,14 @@ build () { 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 - mkdir -pv dist/$REPO_NAME - mkdir -pv dist/$REPO_NAME/logs - mkdir -pv dist/$REPO_NAME/src + REPO_DIR=$(realpath dist/$REPO_NAME) + + REPO_INDEX=$REPO_DIR/index.html + REPO_LIST_OLD=$REPO_DIR/packages.txt + REPO_LIST=$REPO_DIR/packages.list + mkdir -pv $REPO_DIR + mkdir -pv $REPO_DIR/logs + #mkdir -pv dist/$REPO_NAME/src touch $REPO_INDEX touch $REPO_LIST_OLD touch $REPO_LIST @@ -98,7 +99,7 @@ extend-index () { echo " $PKG_NAME - src + src log $DESC $PKG_NAME.xipkg @@ -140,8 +141,8 @@ add-additional () { mkdir -pv dist/$REPO_NAME/logs mv logs/* dist/$REPO_NAME/logs - mkdir -p dist/$REPO_NAME/src - mv $REPO/* dist/$REPO_NAME/src/ + #mkdir -p dist/$REPO_NAME/src + #mv $REPO/* dist/$REPO_NAME/src/ # add key for whole repo mkdir dist/keychain -- cgit v1.2.1