|
@ -81,7 +81,10 @@ print_file_root() { |
|
|
|
|
|
|
|
|
for x; do |
|
|
for x; do |
|
|
y= |
|
|
y= |
|
|
if [ "${x:0:1}" == "/" -a -e "$x" ]; then |
|
|
|
|
|
|
|
|
if [ "$x" == "." ]; then |
|
|
|
|
|
# $PWD, explicitly |
|
|
|
|
|
y="$PWD" |
|
|
|
|
|
elif [ "${x:0:1}" == "/" -a -e "$x" ]; then |
|
|
# absolute |
|
|
# absolute |
|
|
y="$x" |
|
|
y="$x" |
|
|
elif [ -e "$SDEROOT/package"/*/"$x" ]; then |
|
|
elif [ -e "$SDEROOT/package"/*/"$x" ]; then |
|
|