Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
1b2d9c40
Commit
1b2d9c40
authored
Aug 12, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builder/vmware: find files if they exist [GH-279]
parent
21f92715
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG.md
CHANGELOG.md
+4
-0
builder/vmware/driver_workstation9_windows.go
builder/vmware/driver_workstation9_windows.go
+1
-1
No files found.
CHANGELOG.md
View file @
1b2d9c40
...
...
@@ -6,6 +6,10 @@ IMPROVEMENTS:
for the provisioner to attempt to _start_ the remote process. This allows
the shell provisioner to work properly with reboots. [GH-260]
BUG FIXES:
*
builder/vmware: Fix issue with finding driver files. [GH-279]
## 0.3.0 (August 12, 2013)
BACKWARDS INCOMPATIBILITIES:
...
...
builder/vmware/driver_workstation9_windows.go
View file @
1b2d9c40
...
...
@@ -141,7 +141,7 @@ func findFile(file string, paths []string) string {
path
=
normalizePath
(
path
)
log
.
Printf
(
"Searching for file '%s'"
,
path
)
if
_
,
err
:=
os
.
Stat
(
path
);
err
!
=
nil
{
if
_
,
err
:=
os
.
Stat
(
path
);
err
=
=
nil
{
log
.
Printf
(
"Found file '%s'"
,
path
)
return
path
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment