summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
aab32fd)
The configuration-file reader is terrible and doesn't cope with values
which contain `#'.
PATH=$home/bin:/usr/local/bin:/bin:/usr/bin; export PATH
}
PATH=$home/bin:/usr/local/bin:/bin:/usr/bin; export PATH
}
+sanitize () { echo "$1" | tr -c 'A-Za-z0-9-\n' _; }
+
+ tmp=$home/tmp/$(sanitize "$tag").$$
rm -rf $tmp
mkdir $tmp
trap 'cd $home; rm -rf $tmp' EXIT INT TERM
rm -rf $tmp
mkdir $tmp
trap 'cd $home; rm -rf $tmp' EXIT INT TERM