This commit is contained in:
cls%seawood.org 2001-01-27 18:42:15 +00:00
Родитель 8504654938
Коммит 232beeaa43
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -80,10 +80,10 @@ endif
# on os2, TOPSRCDIR may have two forward slashes in a row, which doesn't
# work; replace first instance with one forward slash
TOPSRCDIR := $(shell echo $(TOPSRCDIR) | sed s%//%/%)
TOPSRCDIR := $(shell echo "$(TOPSRCDIR)" | sed -e 's%//%/%')
# if ROOTDIR equals only drive letter (i.e. "C:"), set to "/"
DIRNAME := $(shell echo $(ROOTDIR) | sed s/^.://)
DIRNAME := $(shell echo "$(ROOTDIR)" | sed -e 's/^.://')
ifeq ($(DIRNAME),)
ROOTDIR := /.
endif