summaryrefslogtreecommitdiff
path: root/dh_installexamples
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-12 12:32:49 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-12 12:32:49 -0500
commit651159b311097089d241e2715dd18fa60da10aa3 (patch)
tree3f05aa4e7b0663c25a9e3fcd26959ec53a4e14f3 /dh_installexamples
parent44097a184c49114de52bdaf464afe952c4273e01 (diff)
downloaddebhelper-651159b311097089d241e2715dd18fa60da10aa3.tar.gz
releasing version 6.0.26.0.2
Diffstat (limited to 'dh_installexamples')
-rwxr-xr-xdh_installexamples4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_installexamples b/dh_installexamples
index 1e10e65b..3e5e0893 100755
--- a/dh_installexamples
+++ b/dh_installexamples
@@ -90,8 +90,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $dir = ($basename eq '.') ? $example : "$example/..";
my $pwd=`pwd`;
chomp $pwd;
- $exclude = '-type f'.$exclude;
- complex_doit("cd '$dir' && find '$basename' $exclude -exec cp --parents -dp {} $pwd/$tmp/usr/share/doc/$package/examples \\;");
+ my $exclude2 = '-type f'.$exclude;
+ complex_doit("cd '$dir' && find '$basename' -type f$exclude -exec cp --parents -dp {} $pwd/$tmp/usr/share/doc/$package/examples \\;");
}
else {
doit("cp", "-a", $example, "$tmp/usr/share/doc/$package/examples");