Changeset a4b0572


Ignore:
Timestamp:
Apr 26, 2010, 7:49:28 PM (10 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
0fd5bd5
Parents:
0ee43c8
git-author:
David Benjamin <davidben@mit.edu> (04/24/10 18:59:19)
git-committer:
Nelson Elhage <nelhage@mit.edu> (04/26/10 19:49:28)
Message:
locker-update: Create zephyr{3,4} symlinks as-needed

Checks existence of target files before creating any
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/locker-update

    r0ee43c8 ra4b0572  
    4848        # Sanity -- make sure the 'barnowl' symlink is correct.
    4949        $E ln -sf "../../common/bin/barnowl$B" "$i/bin/barnowl$B"
    50         $E ln -sf "$NEWVERSION" "$i/bin/barnowl.real$B"
     50        [ -e "$i/bin/$NEWVERSION" ]         && $E ln -sf "$NEWVERSION"         "$i/bin/barnowl.real$B"
     51        [ -e "$i/bin/$NEWVERSION.zephyr3" ] && $E ln -sf "$NEWVERSION.zephyr3" "$i/bin/barnowl.real$B.zephyr3"
     52        [ -e "$i/bin/$NEWVERSION.zephyr4" ] && $E ln -sf "$NEWVERSION.zephyr4" "$i/bin/barnowl.real$B.zephyr4"
    5153
    5254        $E ln -sf "zcrypt${NEWVERSION#barnowl}" "$i/bin/zcrypt"
Note: See TracChangeset for help on using the changeset viewer.