* Allow sourceRoot to be set in advance, which is easier than setting
the setSourceRoot function. svn path=/nixpkgs/trunk/; revision=12744
This commit is contained in:
parent
6a9944cdd9
commit
e64067e28b
@ -511,7 +511,7 @@ unpackPhase() {
|
||||
# Find the source directory.
|
||||
if test -n "$setSourceRoot"; then
|
||||
eval "$setSourceRoot"
|
||||
else
|
||||
elif test -z "$sourceRoot"; then
|
||||
sourceRoot=
|
||||
for i in *; do
|
||||
if test -d "$i"; then
|
||||
|
Loading…
Reference in New Issue
Block a user