Skip to content

Commit

Permalink
Merge pull request #32516 from fwyzard/update_subtables_111x
Browse files Browse the repository at this point in the history
Update HLT subtables after the migration to EOS (11.1.x)
  • Loading branch information
cmsbuild committed Dec 18, 2020
2 parents 125eb43 + 25535d5 commit c2039b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HLTrigger/Configuration/tables/subtables.sh
Expand Up @@ -55,7 +55,7 @@ function makeCreateConfig() {
workDir="$baseDir"

# try to read the .jar files from AFS, or download them
if checkJars "$baseDir" $jars; then
if checkJars "$baseDir" $JARS; then
# read the .jar fles from AFS
workDir="$baseDir"
else
Expand All @@ -75,7 +75,7 @@ function makeCreateConfig() {
fi
# download to a temporay file and use an atomic move (in case an other istance is downloading the same file
local TMPJAR=$(mktemp -p "$workDir" .${JAR}.XXXXXXXXXX)
curl -s "$baseUrl/$JAR" -o "$TMPJAR"
curl -s -L "$baseUrl/$JAR" -o "$TMPJAR"
mv -n "$TMPJAR" "$workDir/$JAR"
rm -f "$TMPJAR"
done
Expand Down

0 comments on commit c2039b8

Please sign in to comment.