Slight improvement to cpkg.

This commit is contained in:
Faerbit 2018-09-15 21:14:34 +02:00
parent 9c8c735dc2
commit 0818dd2ceb

View File

@ -39,6 +39,10 @@ then
else
env DESTDIR=$PKGDIR "$@"
PKGNAME=$(basename $(pwd))
if [ "$PKGNAME" = "build" ]
then
PKGNAME=$(basename $(cd ..; pwd))
fi
PKGDEST="${FPKG_ROOT}/pkg"