[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110738] configure gets confused with a build dir with the same base
From: |
Boud Roukema |
Subject: |
[sr #110738] configure gets confused with a build dir with the same base name as the current project |
Date: |
Thu, 6 Oct 2022 06:49:11 -0400 (EDT) |
Follow-up Comment #2, sr #110738 (project reproduce):
Victor, thanks for the spotting this bug! Raúl: the problem is that
_currentdir_
/home/username/niceprojects/project
is a substring of _bdir_
/home/username/niceprojects/project-build
Lines 923 or 930 convert from the relative directory to the absolute
directory, so 'bdir' is absolute.
Victor, my guess is that your solution
grep '^'"$currentdir/"
may be OK, though I haven't checked this... One flaw would be that
/home/username/niceprojects/project/
is not a substring of
/home/username/niceprojects/project
so the project directory itself would be considered to "not be a subdirectory"
and would be accepted as a build directory. So a more complex rule would seem
to be needed.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/support/?110738>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [sr #110738] configure gets confused with a build dir with the same base name as the current project, Victor R. Ruiz, 2022/10/05
- [sr #110738] configure gets confused with a build dir with the same base name as the current project, Raul Infante-Sainz, 2022/10/06
- [sr #110738] configure gets confused with a build dir with the same base name as the current project,
Boud Roukema <=
- [sr #110738] configure gets confused with a build dir with the same base name as the current project, Mohammad Akhlaghi, 2022/10/06
- [sr #110738] configure gets confused with a build dir with the same base name as the current project, Victor R. Ruiz, 2022/10/06
- [sr #110738] configure gets confused with a build dir with the same base name as the current project, Boud Roukema, 2022/10/13
- [sr #110738] configure gets confused with a build dir with the same base name as the current project, Boud Roukema, 2022/10/13
- [sr #110738] configure gets confused with a build dir with the same base name as the current project, Boud Roukema, 2022/10/13