- Timestamp:
- Jul 12, 2018 7:10:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/rpm/rules
r72921 r73093 69 69 70 70 ifneq ($(MAKECMDGOALS),clean) 71 rpmrel := $(subst ol,el,$(subst rhel,el,$(subst centos,el,$(shell cat /etc/distname))))72 ifeq ($(rpmrel),)73 71 # look for fedora 74 rpmrel := $(shell cat /etc/fedora-release 2> /dev/null | sed -e 's/^Fedora *release *\([1-9][0-9]*\) .*/fedora\1/') 75 endif 72 rpmrel := $(shell cat /etc/fedora-release 2> /dev/null | sed -e 's/^Fedora *release *\([1-9][0-9]*\) .*/fedora\1/') 76 73 ifeq ($(rpmrel),) 77 74 # look for OL … … 91 88 endif 92 89 ifeq ($(rpmrel),) 93 $(error failed to detect the release type. Add /etc/distname or hack the detection.)90 $(error failed to detect the release type. Hack the detection.) 94 91 endif 95 92
Note:
See TracChangeset
for help on using the changeset viewer.