Changeset a32c256


Ignore:
Timestamp:
07/08/13 06:48:49 (14 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
4ce55ce
Parents:
6810bbb
Message:

Fix some bad uname -r parsing, causing failed downloads of the
PC-BSD world environment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbi-manager

    r8534088 ra32c256  
    13221322        fi 
    13231323        # Set the FreeBSD Major & Release 
    1324         FBSDREL=`uname -r` 
    1325         FBSDMAJOR=`echo $FBSDREL | cut -c 1` 
     1324        FBSDREL=`uname -r | cut -d "-" -f 1-2` 
     1325        FBSDMAJOR=`echo $FBSDREL | cut -d "-" -f 1` 
    13261326 
    13271327        PBI_WORLDCHROOT="${PBI_APPDIR}/.pbi-world-$ARCH" 
Note: See TracChangeset for help on using the changeset viewer.