Changeset 13711 in hybrid


Ignore:
Timestamp:
Jan 17, 2017, 4:28:44 PM (8 years ago)
Author:
rick
Message:

Match optional patchversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/tools/image

    r13709 r13711  
    7070#
    7171EOF
    72   if echo $release | grep -q -e '^9\.[0-9]-RELEASE[-$]'; then
     72  if echo $release | grep -q -e '^9\.[0-9]-RELEASE\(-p[0-9]\{1,2\}\)\?$'; then
    7373    cat >> $updatecmd <<'EOF'
    7474tunefs -L WLIMGs3 /dev/ada0s3 || exit 1
    7575echo /tools/update || exit 1
    7676EOF
    77   elif echo $release | grep -q -e '^11\.[0-9]-RELEASE[-$]'; then
     77  elif echo $release | grep -q -e '^11\.[0-9]-RELEASE\(-p[0-9]\{1,2\}\)\?$'; then
    7878    cat >> $updatecmd <<'EOF'
    7979echo /tools/update || exit 1
Note: See TracChangeset for help on using the changeset viewer.