Check-in [786148ddec]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove pkg_to_pkgname, it never was used
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 786148ddecda01ef6263d675c4b3ffa251fed02d
User & Date: bdrewery 2013-06-13 13:15:39
Context
2013-06-13
21:34
Quote more filenames check-in: 2f8d07b10c user: bdrewery tags: trunk
13:15
Remove pkg_to_pkgname, it never was used check-in: 786148ddec user: bdrewery tags: trunk
13:15
Quote filenames check-in: 70d7ba9064 user: bdrewery tags: trunk
Changes

Changes to src/share/poudriere/common.sh.

1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
	pkg_get_options "${pkg}" > /dev/null
	pkg_get_origin "${pkg}" ${origin} > /dev/null
	pkg_get_dep_origin "${pkg}" > /dev/null
	deps_file "${pkg}" > /dev/null
	set -e
}

pkg_to_pkgname() {
	[ $# -ne 1 ] && eargs pkg
	local pkg=$1
	local pkg_file=${pkg##*/}
	local pkgname=${pkg_file%.*}
	echo ${pkgname}
}

cache_dir() {
	echo ${POUDRIERE_DATA}/cache/${MASTERNAME}
}

# Return the cache dir for the given pkg
# @param string pkg $PKGDIR/All/PKGNAME.PKG_EXT
pkg_cache_dir() {







<
<
<
<
<
<
<
<







1943
1944
1945
1946
1947
1948
1949








1950
1951
1952
1953
1954
1955
1956
	pkg_get_options "${pkg}" > /dev/null
	pkg_get_origin "${pkg}" ${origin} > /dev/null
	pkg_get_dep_origin "${pkg}" > /dev/null
	deps_file "${pkg}" > /dev/null
	set -e
}









cache_dir() {
	echo ${POUDRIERE_DATA}/cache/${MASTERNAME}
}

# Return the cache dir for the given pkg
# @param string pkg $PKGDIR/All/PKGNAME.PKG_EXT
pkg_cache_dir() {