More fixes, this time for AttachProgram: This is the patch:
Changed: * In find command "-type d" should go before "-maxdepth 0" in order to find does not compain with the call. * Pass_Away function call changed * Changed call to Dependencies script ----------------------- ----------------------- --- /Depot/Users/eof/srcs/GoboCVS/tools/Scripts/bin/AttachProgram 2007-03-03 12:44:52.000000000 +0100 +++ /Depot/Users/eof/srcs/GoboCVS/MyTools/Scripts/bin_patch/AttachProgram 2007-03-31 10:28:20.000000000 +0200 @@ -51,7 +51,7 @@ versionnumber="$(Arg 2)" fi else - versionnumber=`(cd ${goboInstall}/${programname}; GuessLatest \`find * -type d -maxdepth 0\`)` + versionnumber=`(cd ${goboInstall}/${programname}; GuessLatest \`find * -maxdepth 0 -type d\`)` fi prefix="${goboInstall}/$programname/$versionnumber" @@ -61,7 +61,7 @@ if Boolean "force" then Boolean "batch" && error_msg="" - Is_Directory "${goboPrograms}/$programname/$versionnumber" && PassAway $error_msg + Is_Directory "${goboPrograms}/$programname/$versionnumber" && Pass_Away $error_msg fi Log_Normal "Attaching ${programname}, version ${versionnumber} from ${goboInstall}." @@ -82,5 +82,5 @@ if ! Boolean "no-dependencies" then Log_Normal "Checking Dependencies..." - Dependencies -c -h -e $0 "$programname" "$versionnumber" + Dependencies -c -H -e $0 "$programname" "$versionnumber" fi ------------------------------- ------------------------------- Sorry for send separates post but i'm fixing problems when i'm founding them. Btw, DisableProgram Script supports dettached programs? or it can only manage programs under /Programs?. Greets. Aitor. -- ... Bardulia quae nunc vocatur Castella ... -- ... Bardulia quae nunc vocatur Castella ... _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel