travis: fix bug in update_release_local and add test

This commit is contained in:
Ralph Lange
2019-11-20 14:53:59 +01:00
parent d84eb6e857
commit 19695e2d45
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ update_release_local() {
if [ $ret -eq 0 ]
then
base_line=$(grep "EPICS_BASE=" ${release_local})
sedi 's|EPICS_BASE=||g' ${release_local}
sedi '\|EPICS_BASE=|d' ${release_local}
echo ${base_line} >> ${release_local}
fi
fi