changed homefromsubdir a little

This commit is contained in:
eck 1990-10-16 10:07:12 +00:00
parent 0955b5339c
commit b9df23072d

View File

@ -1,11 +1,11 @@
if [ $# = 1 ] if [ $# = 1 ]
then then
NAM=`expr $1 : '^\(\..*\)'` NAM=`expr $1 : '^\(\/.*\)'`
if [ X$NAM = X ] if [ X$NAM != X ]
then then
NAM=$1 NAM=$1
else else
NAM=../$NAM NAM=../$1
fi fi
echo $NAM echo $NAM
exit 0 exit 0