Skip to content
Snippets Groups Projects
Commit 4e20cef2 authored by Nikolai Hartmann's avatar Nikolai Hartmann
Browse files

change to path matching

parent be67d1f5
Branches vp
No related tags found
No related merge requests found
......@@ -7,14 +7,14 @@ if [ $# -lt 1 ]; then
exit 1
fi
fpat=$1'*'
fpat='*'$1'*'
# check cache
xrdpath=/srv/xcache/namespace/atlas/
flist=`find $xrdpath -xtype f -name "$fpat" `
flist=`find $xrdpath -xtype f -path "$fpat" `
# check RAM disk
fl2=`find /dev/shm/atlas -xtype f -name "$fpat" `
fl2=`find /dev/shm/atlas -xtype f -path "$fpat" `
flist="$flist $fl2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment