chiark
/
gitweb
/
~mdw
/
distorted-bits
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
do-slaves: Rewrite output path to prevent buffering of stderr.
[distorted-bits]
/
claim-dir
1
#! /bin/sh
2
3
set -e
4
dir="${1?dir}/$USERV_USER"
5
if [ ! -d "$dir" ]; then
6
mkdir -m700 "$dir"
7
chown "$USERV_USER" "$dir"
8
fi
9
echo "$dir"