pkgr 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,9 +29,7 @@ while : ; do
29
29
  COMMAND="$2"
30
30
  shift 2
31
31
 
32
- exec su -m - "${APP_USER}" <<EOF
33
- . ${DEFAULT_FILE} && cd ${HOME} && vendor/pkgr/processes/${COMMAND} "$@"
34
- EOF
32
+ exec su -m - "${APP_USER}" -c ". ${DEFAULT_FILE} && cd ${HOME} && vendor/pkgr/processes/${COMMAND} ${*}"
35
33
  break ;;
36
34
 
37
35
  scale)
@@ -14,6 +14,8 @@ module Pkgr
14
14
 
15
15
  def setup
16
16
  tarify if File.directory?(path)
17
+ config.before_precompile = File.expand_path(config.before_precompile) if config.before_precompile
18
+ config.compile_cache_dir = File.expand_path(config.compile_cache_dir) if config.compile_cache_dir
17
19
  end
18
20
 
19
21
  def call
@@ -1,3 +1,3 @@
1
1
  module Pkgr
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkgr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-08 00:00:00.000000000 Z
12
+ date: 2013-10-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake