The grep iregexp for extracting BLFS_TREE from the working copy has to be modified

to account for the changes in "svn info" ouput with recent versions of svn
This commit is contained in:
Pierre Labastie 2014-03-03 14:34:58 +00:00
parent c3b96a9e55
commit 2c4be7f2b5

2
jhalfs
View file

@ -271,7 +271,7 @@ if [[ "${BLFS_TOOL}" = "y" ]] ; then
echo " Please rerun make and fix the configuration." echo " Please rerun make and fix the configuration."
exit 2 exit 2
} }
BLFS_TREE=$(cd $BLFS_WC_LOCATION; svn info | grep URL | sed 's@.*BLFS/@@') BLFS_TREE=$(cd $BLFS_WC_LOCATION; svn info | grep '^URL' | sed 's@.*BLFS/@@')
BLFS_BRANCH_ID=$(echo $BLFS_TREE | sed -e 's@trunk/BOOK@development@' \ BLFS_BRANCH_ID=$(echo $BLFS_TREE | sed -e 's@trunk/BOOK@development@' \
-e 's@branches/@branch-@' \ -e 's@branches/@branch-@' \
-e 's@tags/@@' \ -e 's@tags/@@' \