Skip to content

Commit

Permalink
Move podman binary from podman-<version> dir to top level dir
Browse files Browse the repository at this point in the history
This should fix
```
+ unzip -o -d podman-remote/mac/ podman-remote/mac/podman.zip
Archive:  podman-remote/mac/podman.zip
   creating: podman-remote/mac/podman-3.2.3/

+ cp podman-remote/mac/podman crc_hyperkit_461/
cp: cannot stat 'podman-remote/mac/podman': No such file or directory
```
  • Loading branch information
praveenkumar committed Sep 2, 2021
1 parent 51c1ce2 commit 9f73c69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions createdisk-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,13 @@ function download_podman() {
mkdir -p podman-remote/mac
curl -L https://github.com/containers/podman/releases/download/v${version}/podman-remote-release-darwin.zip -o podman-remote/mac/podman.zip
${UNZIP} -o -d podman-remote/mac/ podman-remote/mac/podman.zip
mv podman-remote/mac/podman-${version}/podman podman-remote/mac
fi

if [ -n "${SNC_GENERATE_WINDOWS_BUNDLE}" ]; then
mkdir -p podman-remote/windows
curl -L https://github.com/containers/podman/releases/download/v${version}/podman-remote-release-windows.zip -o podman-remote/windows/podman.zip
${UNZIP} -o -d podman-remote/windows/ podman-remote/windows/podman.zip
mv podman-remote/windows/podman-${version}/podman.exe podman-remote/windows
fi
}

0 comments on commit 9f73c69

Please sign in to comment.