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