Skip to content

Commit

Permalink
Fix input condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankk2308 committed Sep 17, 2018
1 parent 178a971 commit 8114d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyosphere.sh
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ begin_execution() {
echo -e "It is recommended to double-check your project directory.\nRunning from your ${bold}home or other high level directory${normal} can be problematic.\n"
input=""
read -p "${bold}Proceed${normal}? [Y/N]: " input
[[ "${input}" != "Y" || "${input}" != "y" ]] && echo "Aborted." && exit
[[ "${input}" != "Y" && "${input}" != "y" ]] && echo "Aborted." && exit
fi
mkdir -p "${pyosphere_dir}"
generate_build
Expand Down

0 comments on commit 8114d85

Please sign in to comment.