aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Makefile')
-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) )
#==============================================================================#