Skip to content
Snippets Groups Projects
Verified Commit a7758417 authored by Josef Schlehofer's avatar Josef Schlehofer
Browse files

compile_pkgs: git option is depth not deep

Thanks to midnightmagic, who pointed out it on IRC channel #turris on Freenode
parent c0bb6791
No related merge requests found
......@@ -269,7 +269,7 @@ checkout() {
git fetch origin
git checkout -f "$githash"
else
git fetch ${CLONE_DEEP+--deep 1} origin "$OPENWRT_BRANCH"
git fetch ${CLONE_DEEP+--depth 1} origin "$OPENWRT_BRANCH"
git checkout -f "origin/$OPENWRT_BRANCH"
fi
_checkout_clean
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment