[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gobolinux-commits
Subject:    [gobolinux-commits] tools/ChrootCompile/bin ChrootCompile
From:       Jonas Karlsson <jonka750 () student ! liu ! se>
Date:       2007-06-13 18:45:15
Message-ID: E1HyXqF-0007ec-QT () cvs ! savannah ! gnu ! org
[Download RAW message or body]

CVSROOT:	/sources/goboscripts
Module name:	tools
Changes by:	Jonas Karlsson <mohjive>	07/06/13 18:45:15

Modified files:
	ChrootCompile/bin: ChrootCompile 

Log message:
	ChrootCompile should Die if no recipe were found

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/tools/ChrootCompile/bin/ChrootCompile?cvsroot=goboscripts&r1=1.58&r2=1.59


Patches:
Index: ChrootCompile
===================================================================
RCS file: /sources/goboscripts/tools/ChrootCompile/bin/ChrootCompile,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- ChrootCompile	5 May 2007 20:27:40 -0000	1.58
+++ ChrootCompile	13 Jun 2007 18:45:15 -0000	1.59
@@ -174,9 +174,13 @@
 if [ "$localrepository" ]
 then
    if Quiet ls /Files/Compile/LocalRecipes/${name}/${version}*/Recipe
-   then recipedir="`GuessLatest /Files/Compile/LocalRecipes/${name}/${version}*`"
+   then 
+      recipedir="`GuessLatest /Files/Compile/LocalRecipes/${name}/${version}*`"
    elif Quiet ls /Files/Compile/Recipes/${name}/${version}*/Recipe
-   then recipedir="`GuessLatest /Files/Compile/Recipes/${name}/${version}*`"
+   then
+      recipedir="`GuessLatest /Files/Compile/Recipes/${name}/${version}*`"
+   else
+      Die "No such recipe (${name} ${version}) in local recipe directories"
    fi
 else
    if Quiet ls Recipes/${name}/${version}*/Recipe
_______________________________________________
gobolinux-commits mailing list
gobolinux-commits@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic