Signed-off-by: Mike Hommey <mh@xxxxxxxxxxxx> --- git-clone.sh | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/git-clone.sh b/git-clone.sh index 0ea3c24..57e96ae 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -191,7 +191,9 @@ fi # it is local if base=$(get_repo_base "$repo"); then repo="$base" - local=yes + if type cpio > /dev/null 2>&1; then + local=yes + fi fi dir="$2" -- 1.5.3.4 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html