VirtualBox

Changeset 90359 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Jul 27, 2021 3:20:22 PM (3 years ago)
Author:
vboxsync
Message:

debian/rules, rpm/rules: Fix svn_revision variable use.

Location:
trunk/src/VBox/Installer/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/debian/rules

    r90357 r90359  
    6969chrarch  := $(shell if [ `uname -m` = "x86_64" ]; then echo "amd64"; else echo "x86"; fi)
    7070-include $(vboxroot)/SVN_REVISION
    71 svnrev   := $(if $(svn_revision),$(svn_revision),)
    7271
    7372NOMODS   ?= $(ose)
     
    144143    VBOX_PATH_PACKAGE_DOCS="\"/usr/share/doc/$(verpkg)\"" \
    145144    VBOX_PACKAGE_DIST=$(debdist) \
    146     $(if $(svnrev),VBOX_SVN_REV=$(svnrev),) \
    147     $(if $(NODOCS),VBOX_WITH_DOCS= ,) \
     145    $(if $(svn_revision),VBOX_SVN_REV=$(svn_revision),) \
     146    $(if $(NODOCS),VBOX_WITH_DOCS=,) \
    148147    $(if $(VERBOSE),--print-directory KBUILD_VERBOSE=2,--no-print-directory) \
    149148    $(if $(STAGEDISO),VBOX_WITHOUT_ADDITIONS=1,)
  • trunk/src/VBox/Installer/linux/rpm/rules

    r90357 r90359  
    5959chrarch  := $(shell if [ `uname -m` = "x86_64" ]; then echo "amd64"; else echo "x86"; fi)
    6060-include $(vboxroot)/SVN_REVISION
    61 svnrev   := $(if $(svn_revision),$(svn_revision),)
    6261
    6362NOMODS   ?= $(ose)
     
    185184    $(doc_dir) \
    186185    VBOX_PACKAGE_DIST=$(rpmdist) \
    187     $(if $(svnrev),VBOX_SVN_REV=$(svnrev),) \
    188     $(if $(NODOCS),VBOX_WITH_DOCS= ,) \
     186    $(if $(svn_revision),VBOX_SVN_REV=$(svn_revision),) \
     187    $(if $(NODOCS),VBOX_WITH_DOCS=,) \
    189188    $(if $(VERBOSE),--print-directory KBUILD_VERBOSE=2,--no-print-directory) \
    190189    $(if $(STAGEDISO),VBOX_WITHOUT_ADDITIONS=1,)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette