Changeset 35571 for main


Ignore:
Timestamp:
2021-10-13T14:33:31+13:00 (3 years ago)
Author:
davidb
Message:

Changed so RK_HOME is correctly set even if one of the parent directories has a space in its name. While rk was tested to confirm it works, unfortunately later stages of the process (e.g. where CFLAGS is passed on to configure scripts) are not robust to having spaces in their name, and so rk fails at that point. At this stage not planning to address the CFLAGS space issue, and so reverting to only working with the Release Kit installed into a directory area with no spaces in the parent directory name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/bin/rk

    r35570 r35571  
    2020
    2121#determine requested release kit
    22 rk_name="$(basename $0)"
    23 export RK_HOME="$(cd "$(dirname "$0")/.." && pwd)"
     22rk_name=$(basename "$0")
     23rk_dirname=$(dirname "$0")
     24export RK_HOME=$(cd "$rk_dirname/.." && pwd)
     25
    2426
    2527if [ "$rk_name" == "rk2" ]; then
Note: See TracChangeset for help on using the changeset viewer.