Project

General

Profile

Newrel

No link dereferencing

The standard version of newrel dereferences any symbolic link pointing to the base release under $SRT_DIST/releases. It's not clear why this was done, but it causes problems when the base release for a test release is a link. E.g., to avoid using the horrible name for the mixed release of Online-development_Offline-S19.09.09, we define the release current, which points to it:

> ls -l /nova/novadaq/releases/
total 16
drwxr-xr-x  9 novadaq novadaq 4096 Dec 13  1999 boot
lrwxrwxrwx  1 novadaq novadaq   36 Oct 12 21:56 current -> Online_development-Offline_S09.09.19
drwxrwxr-x 36 novadaq novadaq 4096 Oct  9 15:15 development
drwxrwxr-x 35 novadaq novadaq 4096 Oct 12 21:33 Online_development-Offline_S09.09.19

The standard newrel dereferences the current link, when creating the .base_release file in a new test release. This causes other SRT functions to gag when it sees that SRT_BASE_RELEASE=current is not equal to the contents of .base_release.

Nova Version does not dereference.

Report

This version reports that it is special.