Fail when the OpenSSH optional package is enabled and
HAIKU_IMAGE_HOST_NAME is not set. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28227 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -335,6 +335,11 @@ if [ IsOptionalHaikuImagePackageAdded OpenSSH ] {
|
|||||||
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
||||||
Echo "No optional package OpenSSH available for gcc4" ;
|
Echo "No optional package OpenSSH available for gcc4" ;
|
||||||
} else {
|
} else {
|
||||||
|
if ! $(HAIKU_IMAGE_HOST_NAME) {
|
||||||
|
Exit "Optional package OpenSSH requires the HAIKU_IMAGE_HOST_NAME"
|
||||||
|
"variable to be set!" ;
|
||||||
|
}
|
||||||
|
|
||||||
local baseURL = http://haiku-files.org/files/optional-packages ;
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
||||||
InstallOptionalHaikuImagePackage openssh-5.0p1-gcc2-2008-05-04-1
|
InstallOptionalHaikuImagePackage openssh-5.0p1-gcc2-2008-05-04-1
|
||||||
: $(baseURL)/openssh-5.0p1-gcc2-2008-05-04-1.zip
|
: $(baseURL)/openssh-5.0p1-gcc2-2008-05-04-1.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user