diff --git a/bin/esrocos_generate_skeletons b/bin/esrocos_generate_skeletons index aed4406..6dcbec6 100755 --- a/bin/esrocos_generate_skeletons +++ b/bin/esrocos_generate_skeletons @@ -30,7 +30,7 @@ except KeyError: print "DONE" -call("esrocos_update_import_path") +call(["esrocos_update_import_path"]) taste_arguments = ["taste-generate-skeletons"] taste_arguments.append(project_name+"_iv.aadl") diff --git a/bin/esrocos_update_import_path b/bin/esrocos_update_import_path index ab75bf3..b12d1a2 100644 --- a/bin/esrocos_update_import_path +++ b/bin/esrocos_update_import_path @@ -1,3 +1,5 @@ +#!/bin/sh + find . -name "*.aadl" -exec sed -i -e "s+/home/esrocos+$HOME+g" {} \; find . -name "*.aadl" -exec sed -i -e "s+/root+$HOME+g" {} \; find . -name "*.aadl" -exec sed -i -e "s+/taste/esrocos/+$HOME+g" {} \;