diff options
author | Paul W. Frields <stickster@gmail.com> | 2010-12-13 15:05:43 -0500 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2010-12-13 15:05:43 -0500 |
commit | 5cda32bb9aba286e96330792e92c9a07de32634d (patch) | |
tree | 78b570b8ce96e5df35f7ee2cd4af9d49728c182c /Makefile.custom | |
parent | afe53546e78e2d4c06a02b9711aad0fa8bd60061 (diff) | |
download | ecs-git-test-5cda32bb9aba286e96330792e92c9a07de32634d.tar.gz ecs-git-test-5cda32bb9aba286e96330792e92c9a07de32634d.tar.xz ecs-git-test-5cda32bb9aba286e96330792e92c9a07de32634d.zip |
Fix cloning rule
Diffstat (limited to 'Makefile.custom')
-rw-r--r-- | Makefile.custom | 6 |
1 files 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 |