[yast-commit] r62328 - in /trunk/add-on-creator: VERSION package/yast2-add-on-creator.changes src/AddOnCreator.ycp
Author: jsuchome Date: Mon Aug 2 15:07:06 2010 New Revision: 62328 URL: http://svn.opensuse.org/viewcvs/yast?rev=62328&view=rev Log: - cleanup the preparation directory for building iso image (bnc#623036) - 2.19.2 Modified: trunk/add-on-creator/VERSION trunk/add-on-creator/package/yast2-add-on-creator.changes trunk/add-on-creator/src/AddOnCreator.ycp Modified: trunk/add-on-creator/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/add-on-creator/VERSION?rev=62328&... ============================================================================== --- trunk/add-on-creator/VERSION (original) +++ trunk/add-on-creator/VERSION Mon Aug 2 15:07:06 2010 @@ -1 +1 @@ -2.19.1 +2.19.2 Modified: trunk/add-on-creator/package/yast2-add-on-creator.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/add-on-creator/package/yast2-add-... ============================================================================== --- trunk/add-on-creator/package/yast2-add-on-creator.changes (original) +++ trunk/add-on-creator/package/yast2-add-on-creator.changes Mon Aug 2 15:07:06 2010 @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 27 13:48:15 CEST 2010 - jsuchome@suse.cz + +- cleanup the preparation directory for building iso image + (bnc#623036) +- 2.19.2 + ------------------------------------------------------------------ Wed Jan 13 18:56:03 CET 2010 - kmachalkova@suse.cz Modified: trunk/add-on-creator/src/AddOnCreator.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/add-on-creator/src/AddOnCreator.y... ============================================================================== --- trunk/add-on-creator/src/AddOnCreator.ycp (original) +++ trunk/add-on-creator/src/AddOnCreator.ycp Mon Aug 2 15:07:06 2010 @@ -3088,6 +3088,8 @@ Progress::NextStage(); + // when building ISO, target directory is defined by iso_path: + // let's use base_output_path for gathering data needed for iso creation if (current_product["iso"]:false) { string iso_path = current_product["iso_path"]:""; @@ -3097,6 +3099,10 @@ if (!only_sign_product) { base_output_path= tmpdir + "/output"; + if (FileUtils::Exists (base_output_path)) + { + SCR::Execute (.target.bash, sformat ("/bin/rm -rf '%1'", base_output_path)); + } SCR::Execute (.target.mkdir, base_output_path); } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn.opensuse.org