=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- openbsd/update_openbsd/update_openbsd 2010/06/17 23:39:09 1.37 +++ openbsd/update_openbsd/update_openbsd 2012/04/19 05:03:47 1.38 @@ -1,5 +1,5 @@ #!/bin/sh -# $AFresh1: update_openbsd,v 1.36 2010/06/17 20:35:47 andrew Exp $ +# $AFresh1: update_openbsd,v 1.37 2010/06/17 22:39:09 andrew Exp $ installed_sets() { local misc=/usr/share/doc/README @@ -335,6 +335,7 @@ done if [ ! -h /bsd ]; then + cd / if [ -e /bsd.mp ]; then echo linking /bsd.mp to /bsd $SUDO ln -sf /bsd.mp bsd @@ -346,6 +347,7 @@ echo ERROR: Could not symlink new kernel! >&2 exit 1 fi + cd $OLDPWD fi if [ -z $_installed_new_bsd ]; then