summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-01-18 23:48:55 +0000
committerbjarni <bjarni@openttd.org>2005-01-18 23:48:55 +0000
commitf09b0def11bc81df9824ddd0c9ef98671b8ebf03 (patch)
treea5fa24802bf41ccbdc33642d8e3c0971e5cb1b23
parentb1c4b0f07da9585026460d681786eff7d12df57b (diff)
downloadopenttd-f09b0def11bc81df9824ddd0c9ef98671b8ebf03.tar.xz
(svn r1562) Changed copyright 2004 into copyright 2004-(current year) in the get info window in finder (macOSX)
-rwxr-xr-xos/macos/plistgen.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/os/macos/plistgen.sh b/os/macos/plistgen.sh
index 7df09affd..0968f8dc7 100755
--- a/os/macos/plistgen.sh
+++ b/os/macos/plistgen.sh
@@ -7,6 +7,7 @@ VERSION="$3"
else
VERSION="$2"
fi
+date=`date +%Y`
# Generates Info.plist while applying $VERSION
@@ -22,7 +23,7 @@ echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<key>CFBundleExecutable</key>
<string>openttd</string>
<key>CFBundleGetInfoString</key>
- <string>$VERSION, Copyright 2004 The Open Transport Tycoon team</string>
+ <string>$VERSION, Copyright 2004-$date The Open Transport Tycoon team</string>
<key>CFBundleIconFile</key>
<string>openttd.icns</string>
<key>CFBundleIdentifier</key>
@@ -38,7 +39,7 @@ echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<key>CFBundleVersion</key>
<string>$VERSION</string>
<key>NSHumanReadableCopyright</key>
- <string>Copyright 2004 The Open Transport Tycoon team</string>
+ <string>Copyright 2004-$date The Open Transport Tycoon team</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>