Backlog #1475
Duplicated code and failure to use a single environment configuration file
Status: | Pending | Start date: | 09/14/2012 | |
---|---|---|---|---|
Priority: | None | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Core & System | |||
Target version: | - |
Description
From a mail by Matthew Patton:
Seems every script has the same 10 lines to find common scriptlets to include. Things would be a hell of a lot simpler to maintain if there was a 'env.conf' in /etc/one (or the $ONE_LOCATION equivalent).
Posible solution:
if [ -z "${ONE_LOCATION}" ]; then . /etc/one/env.sh else . $ONE_LOCATION/etc/env.sh fi
History
#1 Updated by Ruben S. Montero about 8 years ago
- Category set to Core & System
#2 Updated by Ruben S. Montero about 8 years ago
- Tracker changed from Feature to Request
- Priority changed from Normal to Low
#3 Updated by Ruben S. Montero about 8 years ago
- Tracker changed from Request to Backlog
#4 Updated by Ruben S. Montero about 8 years ago
- Status changed from New to Pending
#5 Updated by Ruben S. Montero over 7 years ago
- Priority changed from Low to None