Commit 8cdd784e authored by Ross Smith II's avatar Ross Smith II

scripts: fix executable name when packer dir is a symlink

parent 5cd2cfa5
...@@ -43,8 +43,8 @@ gox \ ...@@ -43,8 +43,8 @@ gox \
# Make sure "packer-packer" is renamed properly # Make sure "packer-packer" is renamed properly
for PLATFORM in $(find ./pkg -mindepth 1 -maxdepth 1 -type d); do for PLATFORM in $(find ./pkg -mindepth 1 -maxdepth 1 -type d); do
set +e set +e
mv ${PLATFORM}/packer-packer ${PLATFORM}/packer 2>/dev/null mv ${PLATFORM}/packer-packer*.exe ${PLATFORM}/packer.exe 2>/dev/null
mv ${PLATFORM}/packer-packer.exe ${PLATFORM}/packer.exe 2>/dev/null mv ${PLATFORM}/packer-packer* ${PLATFORM}/packer 2>/dev/null
set -e set -e
done done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment