aboutsummaryrefslogtreecommitdiff
path: root/build_repo.sh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-02-01 23:07:12 +0100
committerKarel Kočí <cynerd@email.cz>2018-02-01 23:07:12 +0100
commitc4beadeca1580e39483a0c8fc47bc741d42179eb (patch)
tree06937942dc8c0261691423e9c8b2f4f47bd5691c /build_repo.sh
parent4ad9d6d2ed02f00d907f40c6db68834974336f19 (diff)
downloadturris-myrepo-c4beadeca1580e39483a0c8fc47bc741d42179eb.tar.gz
turris-myrepo-c4beadeca1580e39483a0c8fc47bc741d42179eb.tar.bz2
turris-myrepo-c4beadeca1580e39483a0c8fc47bc741d42179eb.zip
Move repopath and support no v* tags
Diffstat (limited to 'build_repo.sh')
-rwxr-xr-xbuild_repo.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_repo.sh b/build_repo.sh
index 30bfa83..0a1217a 100755
--- a/build_repo.sh
+++ b/build_repo.sh
@@ -44,8 +44,8 @@ for d in *; do
done
# Deploy pkgauto.mk
-[ -d .omnia-sdk ] && cp pkgauto.mk .omnia-sdk/include/
-[ -d .turris-sdk ] && cp pkgauto.mk .turris-sdk/include/
+[ -d .omnia-sdk ] && sed "s#%PKGAUTO%#$PWD/.pkgauto#" pkgauto.mk > .omnia-sdk/include/pkgauto.mk
+[ -d .turris-sdk ] && sed "s#%PKGAUTO%#$PWD/.pkgauto#" pkgauto.mk > .turris-sdk/include/pkgauto.mk
if [ -f CONFIG ]; then
echo -e "\e[1;34mApply CONFIG\e[0m"