* buildpkg.packaging.solaris(auto_rel): Adjusted to new interfaces
This commit is contained in:
parent
f84b1dd660
commit
24e3551aba
@ -1,6 +1,6 @@
|
|||||||
# Function library for buildpkg framework
|
# Function library for buildpkg framework
|
||||||
# It adds support for creating Solaris packages in 'sysv' format
|
# It adds support for creating Solaris packages in 'sysv' format
|
||||||
# Copyright (C) 2003-2008 Tom G. Christensen <tgc@jupiterrise.com>
|
# Copyright (C) 2003-2009 Tom G. Christensen <tgc@jupiterrise.com>
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -397,8 +397,8 @@ auto_rel()
|
|||||||
local snum=0
|
local snum=0
|
||||||
while [ $snum -lt ${#source[@]} ]
|
while [ $snum -lt ${#source[@]} ]
|
||||||
do
|
do
|
||||||
path="$(get_source_path $snum)"
|
path="$(get_source_path ${source[$snum]})"
|
||||||
file="$(get_source_filename $snum)"
|
file="$(get_source_filename ${source[$snum]})"
|
||||||
(cd "$path"; ${__sha1sum} "$file") >> $metadir/sums.${secname}
|
(cd "$path"; ${__sha1sum} "$file") >> $metadir/sums.${secname}
|
||||||
let snum=snum+1
|
let snum=snum+1
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user