Changeset b1a2a4ba in rtems


Ignore:
Timestamp:
Apr 30, 2009, 3:46:29 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
16bde857
Parents:
7965488
Message:

Add OS_VERS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/repo-conf/configure.ac

    r7965488 rb1a2a4ba  
    2121  os_name="Fedora"
    2222  os_subdir="fedora"
     23  os_vers=`echo $osname| sed -e 's,^.*-,,'`
    2324  yum_verdir="\$\$releasever"
    2425  apt_verdir="\$\$(VERSION)"
     
    2728  os_name="CentOS"
    2829  os_subdir="centos"
     30  os_vers=`echo $osname| sed -e 's,^.*-,,'`
    2931  yum_verdir="5"
    3032  apt_verdir="5"
     
    3335  os_name="CentOS"
    3436  os_subdir="centos"
     37  os_vers=`echo $osname| sed -e 's,^.*-,,'`
    3538  yum_verdir="4"
    3639  apt_verdir="4"
     
    3942  os_name="openSUSE"
    4043  os_subdir="suse"
     44  os_vers=`echo $osname| sed -e 's,^.*-,,'`
    4145  yum_verdir="\$\$releasever"
    4246  apt_verdir="\$\$(VERSION)"
     
    4650esac
    4751
     52AC_SUBST([OS_NAME],[$os_name])
    4853AC_SUBST([OS_SUBDIR],[$os_subdir])
     54AC_SUBST([OS_VERS],[$os_vers])
    4955AC_SUBST([YUM_VERDIR],[$yum_verdir])
    5056AC_SUBST([APT_VERDIR],[$apt_verdir])
    51 AC_SUBST([OS_NAME],[$os_name])
    5257
    5358AC_CONFIG_FILES([Makefile])
Note: See TracChangeset for help on using the changeset viewer.