summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-03-05 13:14:00 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-03-05 17:29:02 +0000
commite9e9baa045ae45bb99aecbc5850823480592e9f4 (patch)
tree21f9902e708a7d7596822b3219368e66fd86eaef
parent356e5f60268b154a5aa09b4fbcd716d908262b56 (diff)
downloadmorph-e9e9baa045ae45bb99aecbc5850823480592e9f4.tar.gz
Remove setting of SRCDIR in morph.shell-lib
Yarn in Baserock now sets SRCDIR, so it is not necessary for us to set it anymore.
-rw-r--r--yarns/morph.shell-lib9
1 files changed, 0 insertions, 9 deletions
diff --git a/yarns/morph.shell-lib b/yarns/morph.shell-lib
index e025f8f5..265e7c78 100644
--- a/yarns/morph.shell-lib
+++ b/yarns/morph.shell-lib
@@ -148,15 +148,6 @@ assert_morphologies_are_petrified()
}
-# Currently, yarn isn't setting $SRCDIR to point at the project source
-# directory. We simulate this here.
-
-if ! env | grep '^SRCDIR=' > /dev/null
-then
- export SRCDIR="$(pwd)"
-fi
-
-
# Added until it's fixed in upstream.
# It's a solution to create an empty home directory each execution
export HOME="$DATADIR/home"