Skip to content
This repository has been archived by the owner on Jan 16, 2019. It is now read-only.

Commit

Permalink
use INFOPLIST_PATH var instead of WRAPPER_NAME + path to plist
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Sallis committed Mar 20, 2009
1 parent 12a626f commit 5cc4570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xcode-git-versioner.rb
Expand Up @@ -6,7 +6,7 @@
# fail if not run from Xcode
raise "Must be run from Xcode" unless ENV['XCODE_VERSION_ACTUAL']

info_plist = "#{ENV['BUILT_PRODUCTS_DIR']}/#{ENV['WRAPPER_NAME']}/Contents/Info.plist"
info_plist = "#{ENV['BUILT_PRODUCTS_DIR']}/#{ENV['INFOPLIST_PATH']}"

# Get the current git revision hash
revision = `/usr/local/bin/git rev-parse --short HEAD`.chomp!
Expand Down

0 comments on commit 5cc4570

Please sign in to comment.