Skip to content

Commit

Permalink
Merge pull request #13 from jpouellet/beta-as-current
Browse files Browse the repository at this point in the history
Make -beta count as -current.
  • Loading branch information
qbit committed Mar 23, 2015
2 parents f01cfa0 + 71e0d0a commit 6e08a43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snap
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ if [ -e ~/.last_snap ]; then
msg "last snap run: ${white}$(cat ~/.last_snap)"
fi

sysctl kern.version | grep -q "\-current"
kern_ver=$(sysctl kern.version | grep -oE "\-(current|beta)")
if [ $? == 0 ]; then
msg "kern.version: ${white}reporting as -current"
msg "kern.version: ${white}reporting as $kern_ver"
VER='snapshots'
fi

Expand Down

0 comments on commit 6e08a43

Please sign in to comment.