=== modified file 'stagebuilder.prolog' --- stagebuilder.prolog 2011-11-11 08:55:06 +0000 +++ stagebuilder.prolog 2011-11-09 14:33:14 +0000 @@ -65,29 +65,6 @@ ; Out = [Head|Out0] ). - -sh_escaped(Char, String) :- - integer(Char), - [Char] \= "\n", - ( member(Char, "\\ \t()[]{}&;$#!?*=<>'\"`") - -> ( [Bksl] = "\\", String = [Bksl, Char] ) - ; String = [Char] - ). - -sh_single_quoted(Char, [Char]) :- - integer(Char), - [Char] \= "'". - -sh_double_quoted(Char, String) :- - ( Char = variable(Name) - -> concat(["${", Name, "}"], String) - ; member(Char, "$\\\"`") - -> ( [Bksl] = "\\", String = [Bksl, Char] ) - ; String = [Char] - ). - - - escape_backslashes([ ], [ ]). escape_backslashes([UnescapedChar|UnescapedChars], Escaped) :- ( member(UnescapedChar, "\n") @@ -248,10 +225,10 @@ ), digest_download(File, Uri). -gentoo_stage( i486, x86, 'latest-stage3-i486.txt'). -gentoo_stage( i686, x86, 'latest-stage3-i686.txt'). -gentoo_stage(amd64, x86, 'latest-stage3-i486.txt'). +gentoo_stage(amd64 , amd64, amd64, '' ). gentoo_stage(amd64_hardened, amd64, amd64, hardened). +gentoo_stage( i486 , x86 , i486, '' ). +gentoo_stage( i686 , x86 , i686, '' ). gentoo_stage( i686_hardened, x86 , i686, hardened). download_gentoo_stage(File, Name) -->