diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-09-15 17:43:42 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-09-15 17:43:42 +0000 |
commit | 990811e1c7be84080b6c87069a7887b125e99bc7 (patch) | |
tree | 855eef3f781083642b9a886652a66668d0ac5ad5 | |
parent | 5bd91f977adc4482d350231ff134d50dd493411a (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/Makefile | 6 |
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) ) #==============================================================================# |