cms-sw/cmsdist — pull request #935 by davidlt (2014-08-13 08:10:41+00:00)
Title: cms-common: fix cmsarch for fc19_aarch64 cmsos

_cmsos_ script returns `fc19_aarch64` or `fc19_armv7hl`, yet _cmsarch_
script expected an additional underscore after _cmsos_. Resolve it
by checking exact match to _cmsos_.

```
[david.abdurachmanov@dagr delme]$ cmsarch
slc6_amd64_gcc481
[david.abdurachmanov@dagr delme]$ ./cmsarch
fc19_aarch64_gcc490
[david.abdurachmanov@dagr delme]$ cmsos
fc19_aarch64
[david.abdurachmanov@dagr delme]$ diff -u $(which cmsarch) ./cmsarch
--- /cvmfs/cms.cern.ch/common/cmsarch 2014-07-18 09:53:11.000000000 -0400
+++ ./cmsarch 2014-08-13 04:03:09.125553706 -0400
@@ -1,7 +1,7 @@
#!/bin/sh
# We need to assume 1 compiler per platform.
# There is no other way around this.
-if [ ! "$SCRAM_ARCH" ]
+if [ ! "$SCRAM_ARCH_DISABLE" ]
then
osarch=`/cvmfs/cms.cern.ch/common/cmsos`
compilerv=gcc462
@@ -15,8 +15,8 @@
slc6_*) compilerv=gcc472; osarch=slc6_amd64 ;;
slc5_*) compilerv=gcc462; osarch=slc5_amd64 ;;
fc18_*) compilerv=gcc481; osarch=fc18_armv7hl ;;
- fc19_armv7hl_*) compilerv=gcc481; osarch=fc19_armv7hl ;;
- fc19_aarch64_*) compilerv=gcc490; osarch=fc19_aarch64 ;;
+ fc19_armv7hl) compilerv=gcc481; osarch=fc19_armv7hl ;;
+ fc19_aarch64) compilerv=gcc490; osarch=fc19_aarch64 ;;
*) compilerv=gcc481; osarch=slc6_amd64 ;;
esac
echo ${osarch}_${compilerv}
```
This the following change CMSSW from CVMFS on Fedora 19 AArch64 should work out-of-the-box.

Signed-off-by: David Abdurachmanov