Commit 68ca1875e54648fd14ea80931d70477e5fcd852f
1 parent
db2c0c60
Exists in
master
and in
103 other branches
rm app.properties.temp
Showing
1 changed file
with
5 additions
and
6 deletions
Show diff stats
update_amda/generate_param_info
... | ... | @@ -49,11 +49,10 @@ if [ ! -e ./app.properties ]; then |
49 | 49 | exit |
50 | 50 | fi |
51 | 51 | |
52 | -# if [ -e ./app.properties.temp ]; then | |
53 | -# # rm ./app.properties.temp | |
54 | -# echo "Seems ./app.properties has been modified already" | |
55 | -# else | |
56 | -# modify app.properties in any case ! | |
52 | +if [ -e ./app.properties.temp ]; then | |
53 | + rm ./app.properties.temp | |
54 | +fi | |
55 | + | |
57 | 56 | while read line |
58 | 57 | do |
59 | 58 | |
... | ... | @@ -78,7 +77,7 @@ while read line |
78 | 77 | fi |
79 | 78 | |
80 | 79 | echo $line >> ./app.properties.temp |
81 | - | |
80 | + | |
82 | 81 | done < <(cat $AMDA_KERNEL_DIR/app-generate-paraminfo/app.properties) |
83 | 82 | |
84 | 83 | cp ./app.properties.temp $AMDA_KERNEL_DIR/app-generate-paraminfo/app.properties | ... | ... |