fix get build-dep

This commit is contained in:
Ward from fusion-voyager-3 2024-07-27 23:30:56 +03:00
parent 575bae4af2
commit 1da36f8690

View File

@ -10,6 +10,9 @@ echo "$PIKA_BUILD_ARCH" > pika-build-arch
apt-get source "$PIKA_PACKAGE_NAME=$VERSION" -y apt-get source "$PIKA_PACKAGE_NAME=$VERSION" -y
# Get build deps
apt-get build-dep "$PIKA_PACKAGE_NAME=$VERSION" -y
if [ "$PIKA_REBUILD" = true ] if [ "$PIKA_REBUILD" = true ]
then then
VERSION="$VERSION+$PIKA_REBUILD_VERSION" VERSION="$VERSION+$PIKA_REBUILD_VERSION"
@ -18,9 +21,6 @@ fi
# Get build deps # Get build deps
#LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error" #LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error"
# Get build deps
apt-get build-dep "$PIKA_PACKAGE_NAME=$VERSION" -y
# Enter build dir # Enter build dir
cd $(find ./ -maxdepth 1 -name "$PIKA_PACKAGE_NAME*" -type d | head -1) cd $(find ./ -maxdepth 1 -name "$PIKA_PACKAGE_NAME*" -type d | head -1)