code-saturne / code_saturne

code_saturne public mirror
https://www.code-saturne.org
GNU General Public License v2.0
215 stars 80 forks source link

Bug: error in file sbin\bootstrap #87

Closed paspro closed 2 years ago

paspro commented 2 years ago

In file sbin/bootstrap the section:

for f in `ls ./build-aux` ; do
  case $f in
    *.py | catalyst | *.makefile) ;;
    *) rm -rf $d/build-aux/*$ ;;
  esac
done

has a mistake with the specification of the $d variable which is not defined. The correct loop is the following:

for f in `ls ./build-aux` ; do
  case $f in
    *.py | catalyst | *.makefile) ;;
    *) rm -rf ./build-aux/*$ ;;
  esac
done
YvanFournier commented 2 years ago

Fixed by commit 52c0a58b4fcc2b6f70e209400e2b7b002103d686.