forked from Spark/builder
repo
This commit is contained in:
parent
4654a86814
commit
ed0cb21f51
|
@ -19,13 +19,14 @@ main() {
|
||||||
source 'builder-chroot.cfg'
|
source 'builder-chroot.cfg'
|
||||||
|
|
||||||
package="$1"
|
package="$1"
|
||||||
|
repo_name="$2"
|
||||||
|
|
||||||
if [[ -f "/tmp/build-${package}/.spark.repo" ]]; then
|
# if [[ -f "/tmp/build-${package}/.spark.repo" ]]; then
|
||||||
repo_name=$( <"/tmp/build-${package}/.spark.repo" )
|
# repo_name=$( <"/tmp/build-${package}/.spark.repo" )
|
||||||
else
|
# else
|
||||||
err "Repo not specified, not building package."
|
# err "Repo not specified, not building package."
|
||||||
return 1
|
# return 1
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if [[ ! -d "${cfg_repos_dir}/${repo_name}" ]]; then
|
if [[ ! -d "${cfg_repos_dir}/${repo_name}" ]]; then
|
||||||
echo "Creating ${cfg_repos_dir}/${repo_name}"
|
echo "Creating ${cfg_repos_dir}/${repo_name}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user