summaryrefslogtreecommitdiff
path: root/tests/assert-uninstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/assert-uninstall.sh')
-rwxr-xr-xtests/assert-uninstall.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/assert-uninstall.sh b/tests/assert-uninstall.sh
index 0f85a60..247d723 100755
--- a/tests/assert-uninstall.sh
+++ b/tests/assert-uninstall.sh
@@ -1,19 +1,13 @@
#!/bin/sh
set -eu
-if [ ! -e .git ]; then
- echo "Not in a Git repository, skipping \"$0\"." >&2
- exit
-fi
-
-
. tools/lib.sh
D="$(mkdtemp)"
R="$(mkdtemp)"
trap 'rm -rf "$D" "$R"' EXIT
-git clone -q --depth=1 file://"$PWD" "$R"
+cp -pR ./ "$R"
cd "$R"