Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 9675] unpack_file fails for a .tgz tarball

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 9675] unpack_file fails for a .tgz tarball
  • Date: Mon, 29 Aug 2005 13:05:05 -0700 (PDT)

http://bugs.sourcemage.org/show_bug.cgi?id=9675





------- Additional Comments From acedit AT armory.com 2005-08-29 13:05 -------
Based on that error (and having seen it before, you ran unpack_file $SOURCE.
You dont call unpack_file the same way as you call unpack.

You call unpack_file with the 'n' of SOURCEn. For the first source n is the
empty string, so itd be "unpack_file ''" or just "unpack_file". SOURCE2 has
unpack_file 2; and so on. Theres no need to redundantly pass the file name.
This
is documented in libapi.


#---------------------------------------------------------------------
## @Type API
## @param SOURCE suffix
## @See <@function var.lib.sorcery.modules.libunpack.html,real_unpack_file>
for
more details.
##
## unpack_file takes the SOURCE suffix and figures out if it is supposed
## to md5 or gpg/hash check it -- then it does its dirty work and runs
## unpack, unpack_gpg, or unpack_hash depending upon the circumstances.
##
#---------------------------------------------------------------------
function unpack_file () {


--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page