summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2017-03-13 14:34:38 (GMT)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2017-03-13 14:34:38 (GMT)
commita32b3004b8cd84e6f3eefa5d0fcd3d91907358dd (patch)
tree745856546aae1c3ee5340e07ba4bf29ec67855c6
parentbf09eab6b155fbdcec07065aaa34ed4922264614 (diff)
downloadobs-build-a32b3004b8cd84e6f3eefa5d0fcd3d91907358dd.tar.gz
obs-build-a32b3004b8cd84e6f3eefa5d0fcd3d91907358dd.tar.xz
Fix perl syntax for dsc-Keep-everything
-rw-r--r--debian/patches/dsc-Keep-everything.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/dsc-Keep-everything.patch b/debian/patches/dsc-Keep-everything.patch
index c996774..e2fd564 100644
--- a/debian/patches/dsc-Keep-everything.patch
+++ b/debian/patches/dsc-Keep-everything.patch
@@ -15,7 +15,7 @@ Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Build.pm b/Build.pm
-index ccf8735..89b4af5 100644
+index ccf8735..447102e 100644
--- a/Build.pm
+++ b/Build.pm
@@ -532,7 +532,9 @@ sub get_build {
@@ -23,7 +23,7 @@ index ccf8735..89b4af5 100644
}
my @extra = (@{$config->{'required'}}, @{$config->{'support'}});
- if (@{$config->{'keep'} || []}) {
-+ if ($config->{'type'} == 'dsc') {
++ if ($config->{'type'} eq 'dsc') {
+ ;
+ } elsif (@{$config->{'keep'} || []}) {
my %keep = map {$_ => 1} (@deps, @{$config->{'keep'} || []}, @{$config->{'preinstall'}});