lib/jss/composer.rb in ruby-jss-1.2.10 vs lib/jss/composer.rb in ruby-jss-1.3.2

- old
+ new

@@ -145,10 +145,10 @@ comp_plist_arg = "--component-plist '#{comp_plist_out}'" end ### now build the pkg begin - it_built = system "#{PKGBUILD} --identifier '#{pkg_id}' --version '#{version}' --ownership #{pkg_ownership} --install-location / --root '#{root}' #{signing} #{comp_plist_arg} '#{pkg_out}' " + it_built = system "#{PKGBUILD} --identifier '#{pkg_id}' --version '#{version}' --ownership #{pkg_ownership} --install-location / --root '#{root}' #{signing} #{comp_plist_arg} '#{pkg_out}'" raise 'There was an error building the .pkg' unless it_built ensure comp_plist_out.delete if comp_plist_out.exist? end