Commit a534e430 authored by Steven Jones's avatar Steven Jones

Remove the bash conditional, and use the test command. Magic.

parent f1476b78
......@@ -9,11 +9,11 @@
override_dh_install:
cp -r "$(CURDIR)/db/" "$(CURDIR)/dns/" "$(CURDIR)/http/" "$(CURDIR)/aegir.make" "$(CURDIR)/platform/" "$(CURDIR)"/*.inc "$(CURDIR)"/*.php "$(CURDIR)"/*.info "$(CURDIR)/debian/aegir-provision/usr/share/drush/commands/provision/"
# We need this nasty hack, because we added a directory.
# TODO: this is really lame, there must be a better way to do this?
if [ -d "$(CURDIR)/tests" ]; then
cp -r "$(CURDIR)/tests/" "$(CURDIR)/debian/aegir-provision/usr/share/drush/commands/provision/"
fi
test -d "$(CURDIR)/tests" && cp -r "$(CURDIR)/tests/" "$(CURDIR)/debian/aegir-provision/usr/share/drush/commands/provision/"
cp "$(CURDIR)/debian/aegir-provision.lintian" "$(CURDIR)/debian/aegir-provision/usr/share/lintian/overrides/aegir-provision"
DOMAIN?=$(shell hostname -f)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment