Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FIX install

  • Loading branch information...
commit cd970abb859443375bd13c4a5a008a8f25677b7a 1 parent 22488c3
AliSoftware authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 xcpc/xcpc
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.