summaryrefslogtreecommitdiff
path: root/yarns/tbdiff.shell-lib
blob: 658efe655e544f8b8e2e86c0ff058f36163941a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Shell library for tbdiff yarns.
#
# The shell functions in this library are meant to make writing IMPLEMENTS
# sections for yarn scenario tests easier.

# Currently, yarn isn't setting $SRCDIR to point at the project source
# directory.  We simulate this here.

{
    set +u
    if [ -z "$SRCDIR" ]; then
        export SRCDIR="$(pwd)"
    fi
}