From 5cda32bb9aba286e96330792e92c9a07de32634d Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Mon, 13 Dec 2010 15:05:43 -0500 Subject: Fix cloning rule --- Makefile.custom | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.custom b/Makefile.custom index bb80a80..f20d713 100644 --- a/Makefile.custom +++ b/Makefile.custom @@ -56,12 +56,12 @@ GITREPO_URL=file:///home/pfrields/fedora/projects/ecs-git-test/ GITREPO_LOC=ecs-git-test .git: - git clone --no-hardlinks ${GITREPO_URL} ${GITREPO_LOC} + ( git clone --no-hardlinks ${GITREPO_URL} ${GITREPO_LOC} && \ + mv ${GITREPO_LOC}/.git . && \ + rm -rf ${GITREPO_LOC} ) pull-from-git: .git git pull - mv ${GITREPO_LOC}/.git . - rm -rf ${GITREPO_LOC} # This needs work -- need to ignore all the work product stuff, # including .csv and other stuff created by other rules. That would -- cgit