Logo
Explore Help
Sign In
pool/ruby-common
SHA256
12
0
Fork 1
You've already forked ruby-common
Code Issues Pull Requests Activity
Files
factory
ruby-common/ruby-find-versioned

8 lines
167 B
Plaintext
Raw Permalink Normal View History

Accepting request 290792 from home:darix:ruby - Fail early if gem install fails This avoids confusing error messages at the end of the build. - More fixes for ruby 1.8 - Ruby 1.8 insists on the () for the parameter - Cleaner solution for the extensions doc dir The other solution was also failing on 1.8 - Forgot another option for forwarding - Do not overwrite options.otheropts - Fixed forwarding of options to gem install - Only use the extensions doc dir on MRI 2.1.x - Fix the ruby suffix for distributions before 13.2 - Do not fail with --gem-binary - switch to ruby version of gem_install.sh - added ruby-find-versioned to make it easier to find versioned binaries. - all for loops in the shell scripts and macros are now using this script OBS-URL: https://build.opensuse.org/request/show/290792 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=85
2015-03-14 16:46:00 +00:00
#!/bin/bash
shopt -s nullglob
binary="ruby"
if [ "x$1" != "x" ] ; then
binary="$1"
fi
ls -1 /usr/bin/$binary.{ruby,rbx,jruby}[0-9].[0-9] /usr/bin/$binary[0-9].[0-9]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 53ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API