Skip to content

Commit

Permalink
Merge pull request #1342 from haus/maint/master/more_spec_fixes
Browse files Browse the repository at this point in the history
(maint) Remove xargs rm on empty file list from puppet.spec.erb
  • Loading branch information
stahnma committed Dec 18, 2012
2 parents 7debf73 + 1d2660a commit 538c4fb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ext/redhat/puppet.spec.erb
Expand Up @@ -101,11 +101,10 @@ for f in external/nagios.rb relationship.rb; do
sed -i -e '1d' lib/puppet/$f
done

find examples/ -type f -empty | xargs rm
find examples/ -type f | xargs chmod a-x
find examples/ -type f | xargs --no-run-if-empty chmod a-x

# puppet-queue.conf is more of an example, used for stompserver
mv conf/puppet-queue.conf examples/etc/puppet/
mv conf/puppet-queue.conf examples/

%install
rm -rf %{buildroot}
Expand Down Expand Up @@ -380,7 +379,7 @@ rm -rf %{buildroot}
- Build for <%= @version %>

* Tue Dec 18 2012 Matthaus Owens <matthaus@puppetlabs.com>
- Remove for loop on examples/ code which no longer exists.
- Remove for loop on examples/ code which no longer exists. Add --no-run-if-empty to xargs invocations.

* Sat Dec 1 2012 Ryan Uber <ryuber@cisco.com>
- Fix for logdir perms regression (#17866)
Expand Down

0 comments on commit 538c4fb

Please sign in to comment.