scripts/functions
changeset 3082 39ec9e913d79
parent 3075 aadd4647dd91
child 3083 3a7b2eee9dcd
     1.1 --- a/scripts/functions	Thu Oct 04 13:26:14 2012 +1000
     1.2 +++ b/scripts/functions	Sun Oct 14 23:46:15 2012 +0000
     1.3 @@ -11,8 +11,8 @@
     1.4  
     1.5      # To avoid printing the backtace for each sub-shell
     1.6      # up to the top-level, just remember we've dumped it
     1.7 -    if [ ! -f "${CT_BUILD_DIR}/backtrace" ]; then
     1.8 -        touch "${CT_BUILD_DIR}/backtrace"
     1.9 +    if [ ! -f "${CT_WORK_DIR}/backtrace" ]; then
    1.10 +        touch "${CT_WORK_DIR}/backtrace"
    1.11  
    1.12          # Print steps backtrace
    1.13          step_depth=${CT_STEP_COUNT}
    1.14 @@ -50,7 +50,7 @@
    1.15  
    1.16          CT_DoLog ERROR ""
    1.17          CT_DoEnd ERROR
    1.18 -        rm -f "${CT_BUILD_DIR}/backtrace"
    1.19 +        rm -f "${CT_WORK_DIR}/backtrace"
    1.20      fi
    1.21      exit $ret
    1.22  }