diff options
Diffstat (limited to 'preps')
-rwxr-xr-x | preps/perl.d/perl-dist | 2 | ||||
-rwxr-xr-x | preps/perl.d/perl-pkgbuild | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/preps/perl.d/perl-dist b/preps/perl.d/perl-dist index c6fa2e3..0310fa4 100755 --- a/preps/perl.d/perl-dist +++ b/preps/perl.d/perl-dist @@ -402,7 +402,7 @@ sub main 'pkgver' => $ver, 'pkgdesc' => $meta->{'abstract'}, 'arch' => (xsdist($distdir) ? ['i686', 'x86_64'] : 'any'), - 'dir' => "\$srcdir/$distdir", + '_ddir' => $distdir, %$deps, ); diff --git a/preps/perl.d/perl-pkgbuild b/preps/perl.d/perl-pkgbuild index 47a39ea..3708bc5 100755 --- a/preps/perl.d/perl-pkgbuild +++ b/preps/perl.d/perl-pkgbuild @@ -31,7 +31,7 @@ sub startfunc return <<"ENDTXT"; ${name}() ( - cd "\$_dir" + cd "\$srcdir/\$_ddir" ENDTXT } |