make-env 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60f071068c9a3c7d2790e1f8d9244785a5ff224e6aa39b419517e35b304a608b
4
- data.tar.gz: 2169a81197247684b648c18dc1f25fe49beab7650a9973cbd39ced5a3ed6bec5
3
+ metadata.gz: 872d2c2dd46caf5fdab7644b274a81c428b16555d0c547820ed3bba2c66380f2
4
+ data.tar.gz: 5ae752716ccadc14276977b995915dc6169356cd999ca6a9fdf2850f788b1205
5
5
  SHA512:
6
- metadata.gz: 7e3477cc86dc4955fc1bbc085a5a98e60ac8d0b32e5fb22a8c3224e7b4f23437b0b9412fe1b016780b96025143916c2f377c9c11e369aa78612126a0f9959481
7
- data.tar.gz: 75f06dfe0f8a597b64d98979e55ce212f8e114e68dccd61464fd004ae0ee08518059d42ed60da2262a119d18b47f6104e426c3fdd6b3aefc0aabb59a9941211e
6
+ metadata.gz: 5e1d86192018680b119a04398b12ef2e7178b5a046c56e237cabc52e48b198dfa50dd7473352e24cc16ae1f87ea7090ddfbc0043e328c13e3b14e00154400324
7
+ data.tar.gz: 1ff12c485fb2c0378a28ff0981931c3dfde8dcbbc94e71bf6b96301039a2e4365aaec5f83a1fa8cdb8e82f437908a7fbd92a81176d45078c64ac4bd6eaa4b0a3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- make-env (0.1.0)
4
+ make-env (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/exe/make-env CHANGED
@@ -72,7 +72,11 @@ def main(argv)
72
72
  _arch = in_arch
73
73
  else
74
74
  index = in_arch.to_i - 1
75
- _arch = ARCH[index]
75
+ _arch = if index >= 0 && index < ARCH.size
76
+ ARCH[index]
77
+ else
78
+ in_arch
79
+ end
76
80
  end
77
81
 
78
82
  print "CROSS_COMPILE: "
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Make
4
4
  module Env
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: make-env
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - initdc