mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 20:35:58 +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"
|
echo "missing fpcdir svn $FPCSrcDir/compiler"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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)
|
SVN=$(which svn)
|
||||||
if [ ! -e "$SVN" ]; then
|
if [ ! -e "$SVN" ]; then
|
||||||
@ -151,8 +161,10 @@ fi
|
|||||||
cat $PACKPROJTEMPLATE | sed \
|
cat $PACKPROJTEMPLATE | sed \
|
||||||
-e "s|_FPCVERSION_|$FPCVersion|g" \
|
-e "s|_FPCVERSION_|$FPCVersion|g" \
|
||||||
-e "s|_DATESTAMP_|$DATESTAMP|g" \
|
-e "s|_DATESTAMP_|$DATESTAMP|g" \
|
||||||
|
-e "s|_FPCSRCDIR_|$FPCSrcDir|g" \
|
||||||
-e "s/_FPCMAJORVERSION_/$FPCMAJORVERSION/g" \
|
-e "s/_FPCMAJORVERSION_/$FPCMAJORVERSION/g" \
|
||||||
-e "s/_FPCMINORVERSION_/$FPCMINORVERSION/g" \
|
-e "s/_FPCMINORVERSION_/$FPCMINORVERSION/g" \
|
||||||
|
-e "s/_FPCFULLVERSION_/$FPCVersion/g" \
|
||||||
> $PACKPROJ
|
> $PACKPROJ
|
||||||
|
|
||||||
# build package
|
# build package
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<key>Mode</key>
|
<key>Mode</key>
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
<key>Path</key>
|
<key>Path</key>
|
||||||
<string>_FPCSRCDIR_/install/macosx/resources/License.txt</string>
|
<string>_FPCSRCDIR_/../install/macosx/resources/License.txt</string>
|
||||||
<key>Path Type</key>
|
<key>Path Type</key>
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
</dict>
|
</dict>
|
||||||
@ -40,7 +40,7 @@
|
|||||||
<key>Mode</key>
|
<key>Mode</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>Path</key>
|
<key>Path</key>
|
||||||
<string>_FPCSRCDIR_/install/macosx/resources/ReadMe.txt</string>
|
<string>_FPCSRCDIR_/../install/macosx/resources/ReadMe.txt</string>
|
||||||
<key>Path Type</key>
|
<key>Path Type</key>
|
||||||
<integer>1</integer>
|
<integer>1</integer>
|
||||||
</dict>
|
</dict>
|
||||||
|
Loading…
Reference in New Issue
Block a user