Browse Source

require fpm on OS X for release builds only

Ashish Kulkarni 8 years ago
parent
commit
4ea4e2f34d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/build.py

+ 1 - 1
scripts/build.py

@@ -974,7 +974,7 @@ def check_osx(config):
     if not get_output('xcode-select', '--print-path'):
         error('Xcode is not installed, aborting.')
 
-    if not get_output('which', 'fpm'):
+    if not config.endswith('-dbg') and not get_output('which', 'fpm'):
         error('Please install fpm by running "sudo gem install fpm --no-ri --no-rdoc"')
 
 def build_osx(config, basedir):