echo "build.common.pl_getRelease-unknown"
exit 1
fi
- echo "$release"
+ # keep only the major number
+ echo "$release" | cut -d. -f1
return 0
}
repo=$1; shift
kexclude_line="$1" ; shift
- sed -i -e "/baseurl=.*$/i\\
+ sed -i -e "/#baseurl=.*$/i\\
$kexclude_line" $repo
}