Skip to content
Snippets Groups Projects
Commit a534e430 authored by Steven Jones's avatar Steven Jones
Browse files

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

parent f1476b78
Branches
Tags
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment