Merge pull request #17 from EuropeanSpallationSource/overwrite-configure-RELEASE
travis: overwrite configure/RELEASE instead of appending to it
This commit is contained in:
@@ -182,7 +182,7 @@ add_dependency() {
|
|||||||
release=$CACHEDIR/$dirname-$TAG/configure/RELEASE
|
release=$CACHEDIR/$dirname-$TAG/configure/RELEASE
|
||||||
if [ -e $release ]
|
if [ -e $release ]
|
||||||
then
|
then
|
||||||
grep -q "include \$(TOP)/../RELEASE.local" $release || echo "-include \$(TOP)/../RELEASE.local" >> $release
|
echo "-include \$(TOP)/../RELEASE.local" > $release
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# run hook
|
# run hook
|
||||||
|
|||||||
Reference in New Issue
Block a user