wtf
This commit is contained in:
parent
072f768ebd
commit
4654a86814
|
@ -4,7 +4,7 @@
|
||||||
err() { echo "$1" >&2; }
|
err() { echo "$1" >&2; }
|
||||||
|
|
||||||
build_pkg() {
|
build_pkg() {
|
||||||
local makepkg_output makepkg_exit_code makepkg_status
|
declare package repo
|
||||||
|
|
||||||
package="$1"
|
package="$1"
|
||||||
repo="$2"
|
repo="$2"
|
||||||
|
@ -28,8 +28,8 @@ main() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -d "${cfg_repos_dir}/${repo_name}" ]]; then
|
if [[ ! -d "${cfg_repos_dir}/${repo_name}" ]]; then
|
||||||
echo "Creating ${cfg_repos_dir}/${repo}"
|
echo "Creating ${cfg_repos_dir}/${repo_name}"
|
||||||
mkdir -p "${cfg_repos_dir}/${repo}" || {
|
mkdir -p "${cfg_repos_dir}/${repo_name}" || {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user