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