summaryrefslogtreecommitdiff
path: root/create-repo
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 18:30:39 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 18:30:39 -0300
commitfa4ff798507ded0b26dcdc310d1f97e2e61198c4 (patch)
treeb1a7a66b187fb3825f24fba79603a19bd9036127 /create-repo
parenta6f91db681e302763b687bb47abb5d258948007b (diff)
rename FTP_BASE -> root_dir
Diffstat (limited to 'create-repo')
-rwxr-xr-xcreate-repo2
1 files changed, 1 insertions, 1 deletions
diff --git a/create-repo b/create-repo
index 3feb098..5654078 100755
--- a/create-repo
+++ b/create-repo
@@ -13,7 +13,7 @@ msg "Creating repos..."
for _repo in "$@"; do
msg2 "Creating [%s]" "${_repo}"
for _arch in "${ARCHES[@]}"; do
- mkdir -p "${FTP_BASE}/${_repo}/os/${_arch}" || \
+ mkdir -p "${root_dir}/${_repo}/os/${_arch}" || \
error "Failed creating %s dir" "${_arch}"
done
done