Skip to content

Commit 53ee73e

Browse files
authored
Merge pull request #384 from ColtonWilley/wp_fix_debian_install_wolfprov
install-wolfprov.sh Use cp instead of git clone
2 parents 19b69b5 + 0eb131a commit 53ee73e

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

debian/install-wolfprov.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,8 @@ main() {
196196
work_dir=$(mktemp -d)
197197
printf "Working directory: $work_dir\n"
198198
pushd $work_dir 2>&1 > /dev/null
199-
repo_name=$(basename "$REPO_ROOT")
200-
if git clone --depth 1 "file://$REPO_ROOT" "$repo_name"; then
201-
:
202-
else
203-
echo "Shallow clone failed, falling back to local clone"
204-
git clone "$REPO_ROOT" "$repo_name"
205-
fi
206-
cd "$repo_name"
199+
cp -r $REPO_ROOT .
200+
cd $(basename $REPO_ROOT)
207201

208202
wolfprov_build $fips_mode $debug_mode
209203
if [ $no_install -eq 0 ]; then

0 commit comments

Comments
 (0)