Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 9179320

Browse files
committed
Submodules have their empty dir
even if uninitialized
1 parent 007e080 commit 9179320

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
''', re.VERBOSE)
3030

3131

32-
if not os.path.isdir(LIBSASS_DIR) and os.path.isdir('.git'):
32+
if not os.path.isfile(os.path.join(LIBSASS_DIR, 'Makefile')) and \
33+
os.path.isdir('.git'):
3334
print(file=sys.stderr)
3435
print('You seem to miss initializing submodules; '
3536
'try the following command', file=sys.stderr)

0 commit comments

Comments
 (0)