[Pkg-cli-libs-commits] [taoframework] 30/91: * Add -r to cp in order to copy directories.
Jo Shields
directhex at moszumanska.debian.org
Mon Sep 22 08:33:18 UTC 2014
This is an automated email from the git hooks/post-receive script.
directhex pushed a commit to branch master
in repository taoframework.
commit 3fa713a5b40345055a85b1d413b02dc2240fe88e
Author: Sam Hocevar <sam at zoy.org>
Date: Sun Oct 28 20:37:32 2007 +0000
* Add -r to cp in order to copy directories.
---
debian/rules | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index a81b1d6..8b94fd1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,11 +54,11 @@ build-stamp: configure-stamp
for dir in $(shell find -maxdepth 2 -type d | grep '\(Examples\|NateRobins\|NeHe\|Redbook\)'); do \
base="$${dir##*/}"; \
mkdir -p $(CURDIR)/build/examples/$$base; \
- cp -r $(CURDIR)/$$dir/*.cs \
+ cp $(CURDIR)/$$dir/*.cs \
$(CURDIR)/build/examples/$$base/; \
for subdir in Properties Data Resources; do \
- [ ! -d $(CURDIR)/$$dir/$$subdir ] || cp $(CURDIR)/$$dir/$$subdir \
- $(CURDIR)/build/examples/$$base/; \
+ [ ! -d $(CURDIR)/$$dir/$$subdir ] || \
+ cp -r $(CURDIR)/$$dir/$$subdir $(CURDIR)/build/examples/$$base/; \
done; \
done
touch build-stamp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/taoframework.git
More information about the Pkg-cli-libs-commits
mailing list