fixed dependency-bug in ubuntu cosmic and stretch
This commit is contained in:
@@ -86,20 +86,19 @@ if test -n "${QTDIR}"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Step 5: copy or create info.plist
|
||||
infoplist=$(find ${apptarget}/Contents/Resources -name Info.plist)
|
||||
if test -f "${infoplist}"; then
|
||||
cp -a "${infoplist}" ${apptarget}/Contents/Info.plist
|
||||
# Step 5: copy local or create new info.plist
|
||||
if test -f Info.plist; then
|
||||
cp -a Info.plist ${apptarget}/Contents/Info.plist
|
||||
else
|
||||
cat > ${apptarget}/Contents/Info.plist <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<qdict>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>${project}</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${executablefile##/}</string>
|
||||
<string>${executablefile##*/}</string>
|
||||
</dict>
|
||||
</plist>
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user