Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

allow for links to nonexistent files in build environment to be added to package #337

Merged
merged 1 commit into from

2 participants

@dknecht

(eval):3:in `link_without_potential_path_argument': No such file or directory - usr/local/bin/kt or /var/folders/9n/zpntlhcs6ls0qf_29ngjrhcr0000gn/T/package-dir-staging20130114-70813-gja6ry/usr/local/bin/kt (Errno::ENOENT)

@jordansissel jordansissel merged commit b8dbe31 into jordansissel:master

1 check failed

Details default The Travis build failed
@jordansissel jordansissel referenced this pull request from a commit
@jordansissel - version bump for #337 d72d116
@prof-milki prof-milki referenced this pull request from a commit in prof-milki/xpm
jls - version bump for #337 2c901ab
@prof-milki prof-milki referenced this pull request from a commit in prof-milki/xpm
@jordansissel - version bump for #337 75c2e6f
@jordansissel jordansissel referenced this pull request from a commit
@jordansissel - version bump for #337 74e0668
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 14, 2013
  1. @dknecht
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/fpm/package/dir.rb
View
2  lib/fpm/package/dir.rb
@@ -112,7 +112,7 @@ def copy(source, destination)
begin
@logger.debug("Linking", :source => source, :destination => destination)
File.link(source, destination)
- rescue Errno::EXDEV, Errno::EPERM
+ rescue Errno::ENOENT, Errno::EXDEV, Errno::EPERM
# Hardlink attempt failed, copy it instead
@logger.debug("Copying", :source => source, :destination => destination)
FileUtils.copy_entry(source, destination)
Something went wrong with that request. Please try again.