samus 1.2.9 → 1.3.0

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
  SHA1:
3
- metadata.gz: 7b72b854edfcfc83aa71b7b57c7eb61efd5cf495
4
- data.tar.gz: e5e522de4f1b42f535dcc8a2a0d6297b74b1f690
3
+ metadata.gz: 9ac7da9bf69288accb52ebaddfa1e1627118e795
4
+ data.tar.gz: 9e660338fc1b1043d2a7be7f3920830fc408643f
5
5
  SHA512:
6
- metadata.gz: 795823b5eeb03228aaf154c12f698a0814c763b6cbc1ffe14defd570ab456d754fe7029d309699d56b652c61e7daf52d4b2782e00a0e9efd14da073702b6ab32
7
- data.tar.gz: ddb5c5121d7732e00fd6b489381ea7f97c82375e2149e2c1b14d5552e1ab5bf176d791ea65722c531b96c124a097afbe898b8c6a425c59245743eab0d6da6c0f
6
+ metadata.gz: b9584d677db5e0d701c74ca6aad0fd31ab2b23e7b2460c59f125065448bf4b6c147ec25fad005b91d6b42adae13eed6d6f66638df8a644ef2e5c2df61b879d67
7
+ data.tar.gz: 41fd97d715da5378cb2626f451818f8802c19827cef0365d39674a6cbc7390b970ea32c5c270c33fdc745841222cd6a5e6ee9db00b7cfc190cd6607bdb0f504b
@@ -1,3 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
+ set -e
4
+ bakfile=${__restore_file}.$$.$RANDOM.bak
5
+ mv $__restore_file $bakfile
6
+ trap "mv $bakfile $__restore_file" 0
3
7
  samus build -o $__build_dir/$1 $_build_version ${_manifest}
@@ -3,12 +3,11 @@
3
3
  set -e
4
4
  olddir=$(pwd)
5
5
  dir=$1
6
- remove_dir=""
7
6
 
8
7
  case "$dir" in
9
8
  *.tgz|*.gz)
10
9
  dir=$(mktemp -d -t samus)
11
- remove_dir="1"
10
+ trap "rm -rf $dir" 0
12
11
  tar -xzf $* -C $dir
13
12
  ;;
14
13
  esac
@@ -18,7 +17,3 @@ for r in $_remotes; do
18
17
  git push $r $_refs
19
18
  done
20
19
  cd $olddir
21
-
22
- if [ -n "$remove_dir" ]; then
23
- rm -rf $dir
24
- fi
@@ -1,3 +1,3 @@
1
1
  module Samus
2
- VERSION = '1.2.9'
2
+ VERSION = '1.3.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: samus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.9
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loren Segal