Skip to content

Commit fec969f

Browse files
committed
Revert "bootstrap keep files" (1a2d407)
1 parent c23d5dc commit fec969f

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

usr/bin/bootstrap

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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

@@ -36,10 +36,6 @@ done
3636

3737
SELF_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.
@@ -68,14 +64,8 @@ fi
6864
if [ "$SELF_DIR" = "$USR_DIR"/bin ]; then
6965
: # we are already running inside target directory layout
7066
else
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

0 commit comments

Comments
 (0)