mpsd-githash
This commit is contained in:
parent
6cfe6ee408
commit
6ce16ca75d
5
bin/mpsd
5
bin/mpsd
|
@ -653,7 +653,7 @@ add_meta_files() {
|
|||
}
|
||||
|
||||
add_meta_to_archive() {
|
||||
local NAME TAR SIZE_I DESC URL PACK MAINT ARCH GRUP
|
||||
local NAME TAR SIZE_I DESC URL PACK MAINT ARCH GRUP GITHASH
|
||||
NAME="`get_package_name $1`"
|
||||
ARCH="`get_package_arch $1`"
|
||||
|
||||
|
@ -703,6 +703,8 @@ add_meta_to_archive() {
|
|||
echo "B$PKGMK_BUILDVER" >> .META
|
||||
echo "a$ARCH" >> .META
|
||||
echo "G$GRUP" >> .META
|
||||
GITHASH=$(cat ${GITREPO}/.git/refs/heads/master)
|
||||
echo "H${GITHASH}" >> .META
|
||||
|
||||
bsdtar -tf $PAKETLEME_DIZIN/$1 > .MTREE
|
||||
|
||||
|
@ -1471,6 +1473,7 @@ trap "interrupted" SIGHUP SIGINT SIGQUIT SIGTERM
|
|||
|
||||
export LC_ALL=POSIX
|
||||
DERLEME_AYARDOSYASI="/etc/mpsd.conf"
|
||||
GITREPO="/sources/milis.git"
|
||||
ANADERLEME_AYARDOSYASI="/sources/milis.git/ayarlar/mpsd.conf"
|
||||
readonly PKGMK_VERSION="1.0"
|
||||
readonly PKGMK_COMMAND="$0"
|
||||
|
|
Loading…
Reference in New Issue