Skip to content

Commit dc1b684

Browse files
committed
abort.
1 parent 7be5fe8 commit dc1b684

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ops/script/setup_r_sccache.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
set -euo pipefail
66

7+
if [ -f ~/.R/Makevars ]; then
8+
echo "Error: ~/.R/Makevars already exists. Aborting to avoid overwriting."
9+
exit 1
10+
fi
11+
712
mkdir -p ~/.R
813
cat > ~/.R/Makevars << 'EOF'
914
CC = sccache gcc

0 commit comments

Comments
 (0)