travis: fix bug in update_release_local and add test

This commit is contained in:
Ralph Lange committed 2019-11-20 14:54:04 +01:00
1 parent d84eb6e857
commit 19695e2d45
2 files changed
+4 -1

No files matched your search

+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