Skip to content

Commit 1f0c895

Browse files
committed
added update of aadl absolute paths
1 parent 5a49dd0 commit 1f0c895

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

bin/esrocos_generate_skeletons

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ except KeyError:
3030

3131
print "DONE"
3232

33+
call("esrocos_update_import_path")
34+
3335
taste_arguments = ["taste-generate-skeletons"]
3436
taste_arguments.append(project_name+"_iv.aadl")
3537

bin/esrocos_update_import_path

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
find . -name "*.aadl" -exec sed -i -e "s+/home/esrocos+$HOME+g" {} \;
2+
find . -name "*.aadl" -exec sed -i -e "s+/root+$HOME+g" {} \;
3+
find . -name "*.aadl" -exec sed -i -e "s+/taste/esrocos/+$HOME+g" {} \;

0 commit comments

Comments
 (0)