From 990811e1c7be84080b6c87069a7887b125e99bc7 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 15 Sep 2011 17:43:42 +0000 Subject: 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 --- packages/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/Makefile') 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) ) #==============================================================================# -- cgit v1.2.1