Commit 5e0f3c12 authored by Mattia Rizzolo's avatar Mattia Rizzolo

deploy: use readline -e instead of -f

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent e64048f3
...@@ -61,10 +61,10 @@ function cleanup () { rm -rf "$DIR_TEMP"; } ...@@ -61,10 +61,10 @@ function cleanup () { rm -rf "$DIR_TEMP"; }
mkdir -p "$DIR_TEMP/play" mkdir -p "$DIR_TEMP/play"
trap cleanup EXIT trap cleanup EXIT
ln -s "`readlink -f "${DIR_ROLES}"`" "${DIR_TEMP}/play/roles" ln -s "`readlink -e "${DIR_ROLES}"`" "${DIR_TEMP}/play/roles"
ln -s "`readlink -f "${DIR_GROUP_VARS}"`" "${DIR_TEMP}/play/group_vars" ln -s "`readlink -e "${DIR_GROUP_VARS}"`" "${DIR_TEMP}/play/group_vars"
ln -s "`readlink -f "${playbook_file}"`" "${DIR_TEMP}/play/playbook.yml" ln -s "`readlink -e "${playbook_file}"`" "${DIR_TEMP}/play/playbook.yml"
ln -s "`readlink -f "${env}"`" "${DIR_TEMP}/env" ln -s "`readlink -e "${env}"`" "${DIR_TEMP}/env"
# Get the flags for the ansible-vault password # Get the flags for the ansible-vault password
if [[ -f "${FILE_VAULT_PASSWORD}" ]]; then if [[ -f "${FILE_VAULT_PASSWORD}" ]]; then
......
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