forked from extern/shorewall_code
Fix 'resolve_file'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5083 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
97f0e9ca6f
commit
54fe8291b6
@ -869,9 +869,17 @@ resolve_file() # $1 = file name
|
||||
/*)
|
||||
echo $1
|
||||
;;
|
||||
.)
|
||||
echo $pwd
|
||||
;;
|
||||
./*)
|
||||
echo ${pwd}${1#.}
|
||||
;;
|
||||
..)
|
||||
cd ..
|
||||
echo $PWD
|
||||
cd $pwd
|
||||
;;
|
||||
../*)
|
||||
cd ..
|
||||
resolve_file ${1#../}
|
||||
|
Loading…
Reference in New Issue
Block a user