aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xskein-infra8
1 files changed, 4 insertions, 4 deletions
diff --git a/skein-infra b/skein-infra
index 2e8c866..850b980 100755
--- a/skein-infra
+++ b/skein-infra
@@ -52,10 +52,10 @@ setup() {
git_repo_dir="${SKEIN_GIT_ROOT}/$user"
test -d "$git_repo_dir" || continue
- instance_repo_dir="$SKEIN_CGIT_ROOT"/home/$user/repos
+ available_repos="$SKEIN_CGIT_ROOT"/home/$user/repos.avail
- bind_mount "$git_repo_dir" "$instance_repo_dir"
- chmod 0701 "$instance_repo_dir"
+ bind_mount "$git_repo_dir" "$available_repos"
+ chmod 0701 "$available_repos"
done
}
@@ -63,7 +63,7 @@ teardown() {
rm "$SKEIN_CGIT_ROOT"/dev/null
rmdir "$SKEIN_CGIT_ROOT"/dev
- for i in "$SKEIN_CGIT_ROOT"/home/*/repos; do
+ for i in "$SKEIN_CGIT_ROOT"/home/*/repos.avail; do
bind_umount "$i"
done
}