Project

General

Profile

Bug #6141

problem with product path

Added by Lynn Garren about 5 years ago. Updated about 2 years ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
Start date:
05/02/2014
Due date:
% Done:

0%

Estimated time:
Experiment:
Duration:

Description

setups has a problem with the product path:

source /product/setups
echo $PRODUCTS
/product
cd /product
source ./setups
echo $PRODUCTS
/products/.:/products

This is bad. You are now listing the same directory twice. I can imagine a scenario where you end up with a number of different relative paths all pointing to the same directory.

FYI: the above problem occurs in bash

History

#1 Updated by Marc Mengel about 5 years ago

Actually, you're putting it in once with a trailing slash, and once without.

It won't put identical ones in twice.

#2 Updated by Lynn Garren about 5 years ago

But it does put functionally identical paths in there. The result should be the same whether I source the file with a full path or a relative path. One can imagine a fairly simple fix along the lines of "cd to the path and do a pwd".

#3 Updated by Marc Mengel about 2 years ago

  • Target version set to v5_2_1


Also available in: Atom PDF