Ignore:
Timestamp:
04/23/13 10:55:12 (19 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.1-release, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
ce6fcd7
Parents:
8c47bdf
Message:

Fix a bug setting the right URL for fetching from mirrors when
the uname -r has a -pX number at the end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/libsh/functions.sh

    r1620346 racdf89b  
    4444  export PKG_CACHEDIR 
    4545 
     46  PKGREL=`uname -r | cut -d '-' -f 1-2` 
     47 
    4648  # Where are the packages on our mirrors? 
    47   pkgUrl="/packages/`uname -r`/${ARCH}" 
     49  pkgUrl="/packages/${PKGREL}/${ARCH}" 
    4850 
    4951  if [ ! -d "$PKG_CACHEDIR/All" ] ; then 
Note: See TracChangeset for help on using the changeset viewer.