X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=build%2Fbranch.sh;h=64c702e39a93e60c946cbd91c673bb367fb40dcf;hp=328aeffa5a35fef88d19fec17e8939a42b0592ad;hb=cbb454150790aceec1153749302cb6e8f4449f1d;hpb=1594af3f5607cf431d903caa7e90a63dd49e1647 diff --git a/build/branch.sh b/build/branch.sh index 328aeff..64c702e 100755 --- a/build/branch.sh +++ b/build/branch.sh @@ -12,7 +12,7 @@ parent=$1 child=$2 CHILD=`echo $child | sed -e "s/^b_//" | tr "[a-z]" "[A-Z]"` dir=${3:-.} -module=$(<$dir/CVS/Repository) +module=$(basename $(<$dir/CVS/Repository)) if [ "$module" = "lustre" ] ; then echo >&2 "${progname}: You probably want to branch lustre or portals."