mirror of
https://github.com/jellyfin/jellyfin-build.git
synced 2024-11-30 09:30:45 +00:00
Don't call collect scripts with /bin/bash
Messes up the sudoers permissions.
This commit is contained in:
parent
95efaac9f3
commit
92918a1bbb
@ -62,7 +62,7 @@ rsync -avc bin/${reponame}/ ${repodir}/incoming/${reponame}_${tagname}
|
||||
# Execute import job on repo dir
|
||||
echo "*** COLLECTING PACKAGES FOR REPO ***"
|
||||
nice_reponame="$( sed 's/jellyfin-//g' <<<"${reponame}" )"
|
||||
sudo /bin/bash ${repodir}/collect-client.sh ${nice_reponame} ${repodir}/incoming/${reponame}_${tagname}
|
||||
sudo ${repodir}/collect-client.sh ${nice_reponame} ${repodir}/incoming/${reponame}_${tagname}
|
||||
|
||||
# Upload artifacts to the GitHub release
|
||||
echo "*** UPLOADING BINARIES TO GITHUB RELEASE ***"
|
||||
|
@ -48,7 +48,7 @@ fi
|
||||
rsync -avc bin/${reponame}/ ${repodir}/incoming/${reponame}_${tagname}
|
||||
|
||||
# Execute import job on repo dir
|
||||
sudo /bin/bash ${repodir}/collect-ffmpeg.sh ${repodir}/incoming/${reponame}_${tagname}
|
||||
sudo ${repodir}/collect-ffmpeg.sh ${repodir}/incoming/${reponame}_${tagname}
|
||||
|
||||
# Upload artifacts to the GitHub release
|
||||
for artifact in bin/${reponame}/*.{deb,buildinfo}; do
|
||||
|
@ -87,7 +87,7 @@ echo "*** SYNCING OS PACKAGES TO REPO ***"
|
||||
rsync -avz bin/${reponame}/ ${repodir}/incoming/${reponame}_${tagname}
|
||||
|
||||
echo "*** COLLECTING PACKAGES FOR REPO ***"
|
||||
sudo /bin/bash ${repodir}/collect-server.sh ${repodir}/incoming/${reponame}_${tagname}
|
||||
sudo ${repodir}/collect-server.sh ${repodir}/incoming/${reponame}_${tagname}
|
||||
|
||||
echo "*** BUILDING DOCKER IMAGES ***"
|
||||
/bin/bash ${builddir}/scripts/build.d/build-jellyfin-docker tag-name=${tagname} build-docker-manifests=yes
|
||||
|
@ -137,7 +137,7 @@ rsync -avz bin/${reponame}/ ${repodir}/incoming/${reponame}_${tagname}
|
||||
|
||||
# Execute import job on repo server
|
||||
echo "*** COLLECTING PACKAGES FOR REPO ***"
|
||||
sudo /bin/bash ${repodir}/collect-server.sh ${repodir}/incoming/${reponame}_${tagname} nightly
|
||||
sudo ${repodir}/collect-server.sh ${repodir}/incoming/${reponame}_${tagname} nightly
|
||||
|
||||
# Build Docker containers (self-contained)
|
||||
set +o errexit
|
||||
|
Loading…
Reference in New Issue
Block a user