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
f36b20ca
Commit
f36b20ca
authored
Sep 10, 2014
by
Ross Smith II
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make sure executable is named packer.exe in Windows build [GH-1483]
parent
0bf293f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
scripts/build.sh
scripts/build.sh
+4
-2
No files found.
scripts/build.sh
View file @
f36b20ca
...
...
@@ -47,8 +47,10 @@ gox \
# Make sure "packer-packer" is renamed properly
for
PLATFORM
in
$(
find ./pkg
-mindepth
1
-maxdepth
1
-type
d
)
;
do
set
+e
mv
${
PLATFORM
}
/packer-packer
${
PLATFORM
}
/packer 2>/dev/null
mv
${
PLATFORM
}
/packer-packer
${
PLATFORM
}
/packer 2>/dev/null
# The asterisk allows for the packer directory to be a symlink
# (to a directory that must begin with the word 'packer')
mv
${
PLATFORM
}
/packer-packer
*
.exe
${
PLATFORM
}
/packer.exe 2>/dev/null
mv
${
PLATFORM
}
/packer-packer
*
${
PLATFORM
}
/packer 2>/dev/null
set
-e
done
...
...
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