From 4cefcce3ce3ccf509677ad3c230abea6c4804108 Mon Sep 17 00:00:00 2001 From: Peter Soetens Date: Wed, 22 Dec 2010 10:09:17 +0100 Subject: [PATCH] typegen: remove symlink before creating it It somehow got confused if it already existed. Signed-off-by: Peter Soetens --- lib/orogen/typekit.rb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/orogen/typekit.rb b/lib/orogen/typekit.rb index 4ba6fbb..96e946c 100644 --- a/lib/orogen/typekit.rb +++ b/lib/orogen/typekit.rb @@ -1403,6 +1403,7 @@ module Orocos if standalone? fake_typekit_dir = File.join(automatic_dir, "typekit") + FileUtils.rm fake_typekit_dir, { :force => true } FileUtils.ln_sf automatic_dir, fake_typekit_dir end -- 1.7.0.4