mirror of
https://github.com/dw-0/kiauh.git
synced 2026-05-25 18:59:34 +05:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d55424eea5 | |||
| 89a9d38d39 |
+1
-1
@@ -264,7 +264,7 @@ function clone_klipper() {
|
||||
status_msg "Cloning Klipper from ${repo} ..."
|
||||
|
||||
cd "${HOME}" || exit 1
|
||||
if git clone "${repo}" "${KLIPPER_DIR}"; then
|
||||
if git clone "${repo}" "${KLIPPER_DIR}" --depth 1; then
|
||||
cd "${KLIPPER_DIR}" && git checkout "${branch}"
|
||||
else
|
||||
print_error "Cloning Klipper from\n ${repo}\n failed!"
|
||||
|
||||
Reference in New Issue
Block a user