3
0
Fork 0
forked from mirrors/nixpkgs

* 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:
Eelco Dolstra 2008-08-27 14:29:16 +00:00
parent 6a9944cdd9
commit e64067e28b

View file

@ -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