Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 139019 | Differences between
and this patch

Collapse All | Expand All

(-)Songbird/songbird (+26 lines)
Lines 310-315 Link Here
310
	elif [ -x "$MOZ_DIST_BIN/$MOZ_APPRUNNER_NAME" ]
310
	elif [ -x "$MOZ_DIST_BIN/$MOZ_APPRUNNER_NAME" ]
311
	then
311
	then
312
		MOZ_PROGRAM=$MOZ_DIST_BIN/$MOZ_APPRUNNER_NAME
312
		MOZ_PROGRAM=$MOZ_DIST_BIN/$MOZ_APPRUNNER_NAME
313
	##
314
	## Try resolving symlinks
315
	##
316
	else
317
		here=`/bin/pwd`
318
		progname="$0"
319
		while [ -h "$progname" ]; do
320
			bn=`basename "$progname"`
321
			cd `dirname "$progname"`
322
			progname=`/bin/ls -l "$bn" | sed -e 's/^.* -> //' `
323
			progbase=`basename "$progname"`
324
			if [ ! -x "$progname" ]; then
325
				break
326
			fi
327
			curdir=`dirname "$progname"`
328
			run_moz="$curdir/songbird-bin"
329
			echo run_moz: $run_moz
330
			if [ -x "$run_moz" ]; then
331
				cd "$curdir"
332
				MOZ_DIST_BIN=`/bin/pwd`
333
				MOZ_PROGRAM=$MOZ_DIST_BIN/songbird-bin
334
				echo xx $MOZ_PROGRAM
335
				break
336
			fi
337
		done
338
		cd "$here"
313
	fi
339
	fi
314
fi
340
fi
315
#
341
#

Return to bug 139019