[Gambas-user] Error in IDE making package ( gambas-1.0.10 )

Charlie Reinl Karl.Reinl at ...9...
Fri Aug 19 15:57:40 CEST 2005


Salut,

	this is the right code to test if rbmbuild or rpm are on the box.


PUBLIC SUB MakeInstall()

  IF MakeExecutable(TRUE, TRUE) THEN RETURN
  IF  CheckProgram("rpmbuild") THEN
    RPMBUILD_PROG = "rpmbuild"
  ELSE IF  CheckProgram("rpm") THEN
    RPMBUILD_PROG = "rpm"
  ELSE
    Message.Error(("rpmbuild or rpm have to be installed on your system."))
    RETURN
  ENDIF
  FMakeInstall.ShowModal

END

Amicalment
Charlie




More information about the User mailing list