Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #1 from dsosby/supportspaces

Add quotes around path vars to support spaces
  • Loading branch information...
commit 87b509a5feb5992a4eadc338d92e1b561c5a4d41 2 parents 83addc1 + 122dde9
Tomáš Kramár authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 cpew
6 cpew
@@ -44,11 +44,11 @@ if [[ ! ( ( -d "$WORKSPACE_DIR" ) && ( -w "$WORKSPACE_DIR" ) ) ]]; then
44 44 exit 1
45 45 fi
46 46
47   -mkdir -p $NEW_WORKSPACE || die Could not create directory $NEW_WORKSPACE
  47 +mkdir -p "$NEW_WORKSPACE" || die Could not create directory $NEW_WORKSPACE
48 48
49   -mkdir -p $NEW_WORKSPACE/.metadata/.plugins/org.eclipse.core.runtime/ || die Could not create eclipse settings directory
  49 +mkdir -p "$NEW_WORKSPACE/.metadata/.plugins/org.eclipse.core.runtime/" || die Could not create eclipse settings directory
50 50
51   -cp -R $OLD_WORKSPACE/.metadata/.plugins/org.eclipse.core.runtime/.settings/ $NEW_WORKSPACE/.metadata/.plugins/org.eclipse.core.runtime/ || die Could not copy old settings
  51 +cp -R "$OLD_WORKSPACE/.metadata/.plugins/org.eclipse.core.runtime/.settings/" "$NEW_WORKSPACE/.metadata/.plugins/org.eclipse.core.runtime/" || die Could not copy old settings
52 52
53 53 echo New workspace created. Now start your Eclipse and point it to the $NEW_WORKSPACE workspace
54 54

0 comments on commit 87b509a

Please sign in to comment.
Something went wrong with that request. Please try again.