aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-15 17:43:42 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-15 17:43:42 +0000
commit990811e1c7be84080b6c87069a7887b125e99bc7 (patch)
tree855eef3f781083642b9a886652a66668d0ac5ad5
parent5bd91f977adc4482d350231ff134d50dd493411a (diff)
make test return True and execute on False so that make doesn't think there is an error when the noncvs dir is not found
svn path=/trunk/; revision=15297
-rw-r--r--packages/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/Makefile b/packages/Makefile
index a9913a03..5fd0e4c0 100644
--- a/packages/Makefile
+++ b/packages/Makefile
@@ -200,10 +200,10 @@ externals_install:
# this is for including pre-compiled binaries in a build
noncvs_install:
install -d $(DESTDIR)$(objectsdir)
- test -d $(packages_src)/noncvs/$(OS_NAME)/extra/ && \
- cd $(packages_src)/noncvs/$(OS_NAME)/extra/ && \
+ test ! -d $(packages_src)/noncvs/$(OS_NAME)/extra/ || \
+ (cd $(packages_src)/noncvs/$(OS_NAME)/extra/ && \
tar --exclude-vcs --create * | \
- tar --extract --directory $(DESTDIR)$(objectsdir)
+ tar --extract --directory $(DESTDIR)$(objectsdir) )
#==============================================================================#