scripts: fix executable name when packer dir is a symlink
This commit is contained in:
parent
5cd2cfa563
commit
8cdd784e46
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue