aboutsummaryrefslogtreecommitdiff
path: root/subversion
Commit message (Expand)AuthorAgeFilesLines
* Remove blank lines at end of filesTom Ryder2016-03-281-1/+0
* A start on a Subversion configurationTom Ryder2015-06-101-0/+12
<tom@sanctum.geek.nz> 2015-06-26 11:31:33 +1200 committer Tom Ryder <tom@sanctum.geek.nz> 2015-06-26 11:31:33 +1200 Add edda(1)' href='/cgit/dotfiles.git/commit/bin/edda?h=v0.42.0&id=affd67f4874cb252eb8271c60d0ebc81585b4e77'>affd67f4
6622909e




affd67f4
6622909e



ba2059e2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

                                                                              
   
           




                                   
 



                                 
                          
# Create a temporary directory with name in $td, and handle POSIX-ish traps to
# remove it when the script exits.
td=
cleanup() {
    [ -n "$td" ] && rm -fr -- "$td"
    if [ "$1" != EXIT ] ; then
        trap - "$1"
        kill "-$1" "$$"
    fi
}
for sig in EXIT HUP INT TERM ; do
    # shellcheck disable=SC2064
    trap "cleanup $sig" "$sig"
done
td=$(mktd "$self") || exit