]> git.pld-linux.org Git - packages/mongodb.git/commitdiff
not everything from includedir is duplicated
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Tue, 9 Oct 2012 11:35:37 +0000 (13:35 +0200)
committerJacek Konieczny <jajcus@jajcus.net>
Tue, 9 Oct 2012 11:35:37 +0000 (13:35 +0200)
mongodb.spec

index 1ad540be0fc42165f63b0f0de04c83adc382ec98..ce517ee3f2e47b03c9fd7432cf78d75f20104621 100644 (file)
@@ -180,7 +180,7 @@ touch $RPM_BUILD_ROOT%{_var}/log/mongo/mongod.log
 
 # for some reason these are installed twice, remove unwanted copies
 for f in $RPM_BUILD_ROOT%{_includedir}/mongo/* ; do
-       rm -r "$RPM_BUILD_ROOT%{_includedir}/$(basename $f)"
+       rm -r "$RPM_BUILD_ROOT%{_includedir}/$(basename $f)" || :
 done
 
 %clean
This page took 0.025244 seconds and 4 git commands to generate.