mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-13 15:59:38 +02:00
dmg: focsrc: fixed license path
git-svn-id: trunk@54297 -
This commit is contained in:
parent
ab585d53ed
commit
cfa6d7e99c
@ -66,6 +66,16 @@ if [ ! -d "$FPCSrcDir/compiler" ]; then
|
||||
echo "missing fpcdir svn $FPCSrcDir/compiler"
|
||||
exit 1
|
||||
fi
|
||||
LicenseFile="$FPCSrcDir/../install/macosx/resources/License.txt"
|
||||
if [ ! -f "$LicenseFile" ]; then
|
||||
echo "missing $LicenseFile"
|
||||
exit 1
|
||||
fi
|
||||
ReadMeFile="$FPCSrcDir/../install/macosx/resources/ReadMe.txt"
|
||||
if [ ! -f "$ReadMeFile" ]; then
|
||||
echo "missing $ReadMeFile"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SVN=$(which svn)
|
||||
if [ ! -e "$SVN" ]; then
|
||||
@ -151,8 +161,10 @@ fi
|
||||
cat $PACKPROJTEMPLATE | sed \
|
||||
-e "s|_FPCVERSION_|$FPCVersion|g" \
|
||||
-e "s|_DATESTAMP_|$DATESTAMP|g" \
|
||||
-e "s|_FPCSRCDIR_|$FPCSrcDir|g" \
|
||||
-e "s/_FPCMAJORVERSION_/$FPCMAJORVERSION/g" \
|
||||
-e "s/_FPCMINORVERSION_/$FPCMINORVERSION/g" \
|
||||
-e "s/_FPCFULLVERSION_/$FPCVersion/g" \
|
||||
> $PACKPROJ
|
||||
|
||||
# build package
|
||||
|
@ -28,7 +28,7 @@
|
||||
<key>Mode</key>
|
||||
<integer>1</integer>
|
||||
<key>Path</key>
|
||||
<string>_FPCSRCDIR_/install/macosx/resources/License.txt</string>
|
||||
<string>_FPCSRCDIR_/../install/macosx/resources/License.txt</string>
|
||||
<key>Path Type</key>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
@ -40,7 +40,7 @@
|
||||
<key>Mode</key>
|
||||
<integer>0</integer>
|
||||
<key>Path</key>
|
||||
<string>_FPCSRCDIR_/install/macosx/resources/ReadMe.txt</string>
|
||||
<string>_FPCSRCDIR_/../install/macosx/resources/ReadMe.txt</string>
|
||||
<key>Path Type</key>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
|
Loading…
Reference in New Issue
Block a user