Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

Commit

Permalink
Fix relative path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ahelal committed Apr 10, 2017
1 parent 69fc397 commit c5f4c4e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion avm/avm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,12 @@ case $1 in
export ANSIBLE_LABEL_0="$2"
shift ;;
-r|--requirements)
export PYTHON_REQUIREMENTS_0="$2"
export PYTHON_REQUIREMENTS_0
if [ "${2}" != "${2#/}" ]; then
PYTHON_REQUIREMENTS_0="${2}"
else
PYTHON_REQUIREMENTS_0="$(pwd)/${2}"
fi
shift ;;
-h|--help)
print_install_help;;
Expand Down

0 comments on commit c5f4c4e

Please sign in to comment.