* 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.
|
# Find the source directory.
|
||||||
if test -n "$setSourceRoot"; then
|
if test -n "$setSourceRoot"; then
|
||||||
eval "$setSourceRoot"
|
eval "$setSourceRoot"
|
||||||
else
|
elif test -z "$sourceRoot"; then
|
||||||
sourceRoot=
|
sourceRoot=
|
||||||
for i in *; do
|
for i in *; do
|
||||||
if test -d "$i"; then
|
if test -d "$i"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user