summaryrefslogtreecommitdiff
path: root/build-repo.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-03 16:43:09 +0000
committerdavidovski <david@davidovski.xyz>2022-01-03 16:43:09 +0000
commitde8a8b833737548b7c9648c0be9a1da34b2d2f80 (patch)
tree2e7c9328d66a31b27a301f030c1a0d67f9ffc4ef /build-repo.sh
parentfd2e929e8e97d93d53611d285439b5425f78fa95 (diff)
force removing tmp dir
Diffstat (limited to 'build-repo.sh')
-rwxr-xr-xbuild-repo.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/build-repo.sh b/build-repo.sh
index fd60aa9..d6200a3 100755
--- a/build-repo.sh
+++ b/build-repo.sh
@@ -3,7 +3,9 @@
XIBUILD=./xibuild
fetch () {
- git clone https://git.davidovski.xyz/xilinux/xipkgs
+ #git clone https://git.davidovski.xyz/xilinux/xipkgs
+
+ rsync -r ../buildfiles/ xipkgs
mkdir dist
}
@@ -34,9 +36,6 @@ build () {
$XIBUILD -o $DEST $BUILD_FILE
extend-index $BUILD_FILE $REPO_INDEX
-
- else
- echo "skipping $BUILD_FILE"
fi
done;
@@ -151,13 +150,14 @@ add-additional () {
clean () {
rm -rf xipkgs
rm -rf logs
+ chmod -R 777 tmp
rm -rf tmp
rm -rf xibuild.log
}
sync () {
for i in $@; do
- [[ $# = 0 ]] || rsync -vLta --no-perms --no-owner --no-group --delete -z -e ssh ./dist/ $i
+ [[ $# = 0 ]] || rsync -Lta --no-perms --no-owner --no-group --delete -z -e ssh ./dist/ $i
done;
}