forked from Spark/builder
forgot cd
This commit is contained in:
parent
b83a8799b3
commit
7ccfce7dcb
|
@ -29,12 +29,9 @@ main() {
|
||||||
repo_name="$2"
|
repo_name="$2"
|
||||||
|
|
||||||
build_pkg "$package" "$repo_name"
|
build_pkg "$package" "$repo_name"
|
||||||
repo-add -n "${repo_name}.db.tar.gz" "$package"*.pkg.tar.xz
|
|
||||||
|
|
||||||
for i in "${repos[@]}"; do
|
|
||||||
cd "${cfg_repos_dir}/${i}"
|
cd "${cfg_repos_dir}/${i}"
|
||||||
repo-add -n "${i}.db.tar.gz" *.pkg.tar.xz
|
repo-add -n "${repo_name}.db.tar.gz" "$package"*.pkg.tar.xz
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user