Permalink
Browse files

FIX install

  • Loading branch information...
1 parent 22488c3 commit cd970abb859443375bd13c4a5a008a8f25677b7a @AliSoftware committed Aug 27, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 xcpc/xcpc
View
@@ -2,7 +2,6 @@
if [ "$1" = "-install" ]; then
doInstall=1
- mkdir -p "${outputDir}"
shift
elif [ "$1" = "-xcodeplugin" ]; then
onlyPreprocess=1
@@ -16,7 +15,9 @@ fi
inputFile=$1
if [ $doInstall ]; then
- outputFile=~/Library/Developer/Xcode/Plug-Ins/$(basename $inputFile .xcpp).dvtplugin
+ outputDir=~/Library/Developer/Xcode/Plug-Ins
+ mkdir -p "${outputDir}"
+ outputFile=${outputDir}/$(basename $inputFile .xcpp).dvtplugin
else
outputFile=/dev/stdout
fi

0 comments on commit cd970ab

Please sign in to comment.