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

Collapse All | Expand All

(-)a/java-utils-2.eclass (-7 / +4 lines)
Lines 432-441 Link Here
432
java-pkg_doso() {
432
java-pkg_doso() {
433
	debug-print-function ${FUNCNAME} $*
433
	debug-print-function ${FUNCNAME} $*
434
434
435
	[[ ${#} -lt 1 ]] &&  "At least one argument required for ${FUNCNAME}"
436
	java-pkg_check-phase install
435
	java-pkg_check-phase install
437
436
438
	[[ ${#} -lt 1 ]] &&  die "At least one argument required for ${FUNCNAME}"
437
	[[ ${#} -lt 1 ]] && die "${FUNCNAME} requires at least one argument"
439
438
440
	java-pkg_init_paths_
439
	java-pkg_init_paths_
441
440
Lines 453-462 Link Here
453
				debug-print "Installing ${lib} to ${JAVA_PKG_LIBDEST}"
452
				debug-print "Installing ${lib} to ${JAVA_PKG_LIBDEST}"
454
			# otherwise make a symlink to the symlink's origin
453
			# otherwise make a symlink to the symlink's origin
455
			else
454
			else
456
				# TODO use dosym
455
				dosym "$(readlink "${lib}")" "${JAVA_PKG_LIBDEST}/${lib##*/}"
457
				ln -s "$(readlink "${lib}")" \
456
				debug-print "${lib} is a symlink, linking accordantly"
458
					"${D}${JAVA_PKG_LIBDEST}/$(basename "${lib}")"
459
				debug-print "${lib} is a symlink, linking accordanly"
460
			fi
457
			fi
461
		# otherwise die
458
		# otherwise die
462
		else
459
		else
Lines 482-488 Link Here
482
479
483
	java-pkg_check-phase install
480
	java-pkg_check-phase install
484
481
485
	[[ ${#} -lt 1 ]] &&  "at least one argument needed"
482
	[[ ${#} -lt 1 ]] && die "${FUNCNAME} requires at least one argument"
486
483
487
	java-pkg_init_paths_
484
	java-pkg_init_paths_
488
485

Return to bug 251500