atat-mirror/glue/jobctrl/lookup

12 lines
131 B
Plaintext
Raw Normal View History

2023-08-31 20:30:18 +02:00
#!/bin/bash
dir="";
for (( i=1; i<=6; i++ ))
do
if [ -e ${dir}$1 ]
then
echo "${dir}$1"
exit
fi
dir="../$dir"
done