Bug 370118 Thunderbird refuses to start: "Cannot find mozilla runtime directory. Exiting.". r=philor,a1.8.1.18=dveditz

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@254729 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bugzilla%standard8.plus.com
2008-10-22 21:04:53 +00:00
parent b9b8dac2f0
commit e7c57cfd2c
2 changed files with 5 additions and 4 deletions

View File

@@ -267,7 +267,7 @@ thunderbird:: mozilla.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk
cat $< | sed -e "s|%MOZAPPDIR%|$(mozappdir)|" \
-e "s|%MOZ_USER_DIR%|.thunderbird|" \
-e "s|%MREDIR%|$(mredir)|" \
-e "s|%MOZILLA-BIN%|$(PROGRAM)|g" > $@
-e "s|%MOZ_APP_DISPLAYNAME%|$(MOZ_APP_DISPLAYNAME)|" > $@
chmod +x $@
libs:: thunderbird

View File

@@ -36,7 +36,7 @@
#
# ***** END LICENSE BLOCK *****
## $Id: mozilla.in,v 1.5.4.2 2008-01-11 03:20:02 reed%reedloden.com Exp $
## $Id: mozilla.in,v 1.5.4.3 2008-10-22 21:04:53 bugzilla%standard8.plus.com Exp $
##
## Usage:
##
@@ -120,6 +120,7 @@ else
if [ -x "$run_moz" ]; then
cd "$curdir"
dist_bin=`pwd`
run_moz="$dist_bin/run-mozilla.sh"
found=1
break
fi
@@ -130,8 +131,8 @@ if [ $found = 0 ]; then
# Check default compile-time libdir
if [ -x "$moz_libdir/run-mozilla.sh" ]; then
dist_bin="$moz_libdir"
else
echo "Cannot find mozilla runtime directory. Exiting."
else
echo "Cannot find %MOZ_APP_DISPLAYNAME% runtime directory. Exiting."
exit 1
fi
fi