From 24e3551aba7a5bc606e37734e8a0c108a594a6be Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Sat, 5 Sep 2009 14:56:27 +0000 Subject: [PATCH] * buildpkg.packaging.solaris(auto_rel): Adjusted to new interfaces --- buildpkg.packaging.solaris | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildpkg.packaging.solaris b/buildpkg.packaging.solaris index 5dd070a..041b2a1 100644 --- a/buildpkg.packaging.solaris +++ b/buildpkg.packaging.solaris @@ -1,6 +1,6 @@ # Function library for buildpkg framework # It adds support for creating Solaris packages in 'sysv' format -# Copyright (C) 2003-2008 Tom G. Christensen +# Copyright (C) 2003-2009 Tom G. Christensen # 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 @@ -397,8 +397,8 @@ auto_rel() local snum=0 while [ $snum -lt ${#source[@]} ] do - path="$(get_source_path $snum)" - file="$(get_source_filename $snum)" + path="$(get_source_path ${source[$snum]})" + file="$(get_source_filename ${source[$snum]})" (cd "$path"; ${__sha1sum} "$file") >> $metadir/sums.${secname} let snum=snum+1 done