Skip to content

Commit a573ae6

Browse files
committed
small tweak
1 parent 59b9280 commit a573ae6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

utils/R-fix-flags.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@ set -e # Exit immediately if a simple command exits with a non-zero status
44

55
new_flag="-Wall -Werror=format-security"
66

7+
echo "Add '$new_flag' to *FLAGS?"
8+
echo ""
9+
echo "IMPORTANT NOTE: Only do this for BioC >= 3.21 + R >= 4.5."
10+
echo "If you're installing R < 4.5 (for BioC < 3.21 builds), then"
11+
echo "use the R-fix-flags-old.sh script instead."
12+
echo ""
713
while true; do
8-
echo "Add '$new_flag' to *FLAGS?"
9-
echo "IMPORTANT NOTE: Only do this for BioC >= 3.21 + R >= 4.5."
10-
echo "If you're installing R < 4.5 (for BioC < 3.21 builds), then"
11-
echo "use the R-fix-flags-old.sh script instead."
12-
read -p "y/n? " yn
14+
read -p "Please answer yes or no: " yn
1315
case $yn in
1416
[Yy]* ) break;;
1517
[Nn]* ) exit;;
16-
* ) echo "Please answer yes or no.";;
18+
* ) ;;
1719
esac
1820
done
1921

0 commit comments

Comments
 (0)