Skip to content

Commit

Permalink
Merge pull request bottlerocket-os#3494 from webern/twoliter-install-…
Browse files Browse the repository at this point in the history
…mkdir

twoliter install mkdir
  • Loading branch information
webern authored Oct 2, 2023
2 parents 4304f33 + e68d6fc commit 20401ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/install-twoliter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ set -e

workdir="$(mktemp -d)"
on_exit "rm -rf ${workdir}"
mkdir -p "${dir}"

if [ "${reuse_existing}" = "true" ] ; then
if [ -x "${dir}/twoliter" ] ; then
Expand Down Expand Up @@ -143,7 +144,6 @@ if [ "${allow_bin}" = "true" ] ; then
cd "${workdir}"
curl -sSL "${twoliter_release}/twoliter-${twoliter_target}.tar.xz" -o "twoliter.tar.xz"
tar xf twoliter.tar.xz
mkdir -p "${dir}"
mv "./twoliter-${twoliter_target}/twoliter" "${dir}"
exit 0
;;
Expand Down

0 comments on commit 20401ef

Please sign in to comment.