xbps-src: set wrksrc to $pkgname-$version unconditionally
This commit is contained in:

committed by
Đoàn Trần Công Danh

parent
af9931fd3b
commit
8c5358f792
@@ -655,11 +655,7 @@ setup_pkg() {
|
||||
fi
|
||||
|
||||
# Setup some specific package vars.
|
||||
if [ -z "$wrksrc" ]; then
|
||||
wrksrc="$XBPS_BUILDDIR/${sourcepkg}-${version}"
|
||||
else
|
||||
wrksrc="$XBPS_BUILDDIR/$wrksrc"
|
||||
fi
|
||||
wrksrc="$XBPS_BUILDDIR/${sourcepkg}-${version}"
|
||||
|
||||
if [ "$cross" -a "$nocross" ]; then
|
||||
report_broken \
|
||||
|
Reference in New Issue
Block a user