Changeset 682


Ignore:
Timestamp:
Dec 8, 2006, 1:03:03 AM (19 years ago)
Author:
bird
Message:

my .PRECIOUS!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r679 r682  
    611611define def_fetch_src_fetch_rule
    612612# Indirect goal for downloading something.
     613.PRECIOUS: $(out)
    613614$(out) $($(target)_$(srcname)_FETCH_OUTPUT_): | $($(target)_$(srcname)_FETCH_DEPORD_)
    614615        @$(ECHO) Downloading $(source)...
    615616        $$(RM) -f $(out) $(out).md5 ## @todo fancy stuff like download continuation
    616617        $($(target)_$(srcname)_FETCH_CMDS_)
    617         @$(if $(md5),$(APPEND) $(out).md5 "$(subst 1,0,$(md5)) *$(out)")
    618         $(if $(md5),$(MD5SUM) -c $(out).md5)
     618        @$(if $(md5),$$(APPEND) $(out).md5 "$(md5) *$(out)")
     619        $(if $(md5),$$(MD5SUM) -c $(out).md5)
     620
    619621
    620622
Note: See TracChangeset for help on using the changeset viewer.