This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix create_temp_dirs in rstudio/init.sh

  • Loading branch information...
shivaram committed Jul 15, 2015
1 parent 8bdbf71 commit c8d91fe9566a951d6185bffdc968b41fb53e1393
Showing with 2 additions and 2 deletions.
  1. +2 −2 rstudio/init.sh
View
@@ -17,7 +17,7 @@ cp /root/spark-ec2/rstudio/startSpark.R /home/rstudio
# otherwise this will create a conflict for the rstudio user
function create_temp_dirs {
location=$1
- if [[! -e $location ]]; then
+ if [[ ! -e $location ]]; then
mkdir -p $location
fi
chmod a+w $location
@@ -26,4 +26,4 @@ function create_temp_dirs {
create_temp_dirs /mnt/spark
create_temp_dirs /mnt2/spark
create_temp_dirs /mnt3/spark
-create_temp_dirs /mnt4/spark
+create_temp_dirs /mnt4/spark

0 comments on commit c8d91fe

Please sign in to comment.