Project

General

Profile

« Previous | Next » 

Revision 9a0afde8

Added by Sam Kottler over 11 years ago

Fixed Gemfile attribute removal so the first line doesn't get touched

View differences:

rpms/epel-5/SPECS/foreman.spec
# Remove the references to git data in the Gemfile. This regex removes
# everything after the first comma, potentially including version
# information if it's specified.
sed -i 1d Gemfile
sed -i 's/,.*//' Gemfile
sed -i "1i\require File.expand_path('../config/settings', __FILE__)" Gemfile
%build
%install

Also available in: Unified diff