Navigation Menu

Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Commit

Permalink
fix plug-in path in update-uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
rpendleton committed Aug 25, 2016
1 parent 614a8c1 commit 926b378
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions update-uuid.sh
Expand Up @@ -5,11 +5,11 @@ echoerr() {
}

realpath() {
perl -e 'use Cwd "abs_path";print abs_path(shift)' $1
perl -e 'use Cwd "abs_path";print abs_path(shift)' "$1"
}

print_usage() {
echoerr "Usage: update.sh [path_to_xcode.app [path_to_plugin.ideplugin]]"
echoerr "Usage: update.sh [path_to_xcode.app [path_to_plugin.xcplugin]]"
echoerr -e "\nExamples:"
echoerr " $0"
echoerr " $0 /Applications/Xcode-6b4.app"
Expand Down Expand Up @@ -38,7 +38,7 @@ add_uuid() {

main() {
if [ $# -le 1 ]; then
PLUGIN=$(realpath ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/XcodeCanvasColor.ideplugin)
PLUGIN=$(realpath ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/XcodeCanvasColor.xcplugin)
else
PLUGIN=$(realpath $2)
fi
Expand Down

0 comments on commit 926b378

Please sign in to comment.