File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77# ## description ################################################################
88
9- # This script bootstraps JHBuild so it's ready to be build any module.
9+ # This script bootstraps JHBuild so it's ready to build any module.
1010
1111# ## shellcheck #################################################################
1212
3636
3737SELF_DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " || exit 1; pwd)
3838
39- if [ " $CLEAR_TARGET " != " false" ]; then
40- CLEAR_TARGET=true # use rsync with '--delete'
41- fi
42-
4339# ## functions ##################################################################
4440
4541# Nothing here.
6864if [ " $SELF_DIR " = " $USR_DIR " /bin ]; then
6965 : # we are already running inside target directory layout
7066else
71- if $CLEAR_TARGET ; then
72- CLEAR_TARGET=--delete
73- else
74- CLEAR_TARGET=" "
75- fi
76-
7767 # sync repository into target structure, remove everything git-related
78- rsync -a $CLEAR_TARGET " $SELF_DIR " /../../../jhb/ " $VER_DIR " /
68+ rsync -a " $SELF_DIR " /../../../jhb/ " $VER_DIR " /
7969 find " $VER_DIR " -type f -name " .gitignore" -delete
8070 rm -rf " $VER_DIR " /.git
8171 rm " $VER_DIR " /.gitmodules
You can’t perform that action at this time.
0 commit comments