Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F11222097
create_store_pathname_HS.bat
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
create_store_pathname_HS.bat
View Options
#!/bin/bash
#This script is part of HiggsSignals
# -TS
#It is called by configure. It creates the module store_pathname,
#which contains the path to the HiggsBounds package
#startdir=
"$PWD"
startdir=`pwd -P`
nameofpath=$startdir
teststring=$nameofpath
teststringlength=${#teststring}
maxlength=100
pathnamelength=`expr $teststringlength + 1` #because we're adding another '/' to the end
newstring=$teststring
echo
'!******************************************************************'
echo
'module store_pathname_HS'
echo
'!******************************************************************'
echo
' implicit none'
echo
''
echo
' integer,parameter:: pathname_length= '$pathnamelength
echo
' character(len=pathname_length),parameter :: pathname_HS=
&
'
echo
'
&
"'${newstring:0:maxlength}'"
//
&
'
newstring=${newstring:maxlength}
while [
"${#newstring}"
-gt
"$maxlength"
]
do
echo
'
&
"'${newstring:0:maxlength}'"
//
&
'
newstring=${newstring:maxlength}
done
echo
'
&
"'$newstring'/"
'
echo
''
echo
'end module store_pathname_HS'
echo
'!******************************************************************'
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Wed, May 14, 11:25 AM (17 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5069986
Default Alt Text
create_store_pathname_HS.bat (1 KB)
Attached To
rHIGGSBOUNDSSVN higgsboundssvn
Event Timeline
Log In to Comment