Skip to content

Commit 45de009

Browse files
authored
fix make distclean to not error out on cd
1 parent 4d002fe commit 45de009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ sagelib-clean:
123123
rm -rf build; find . -name '*.pyc' -o -name "*.so" | xargs rm -f; \
124124
rm -f $$(find . -name "*.pyx" | sed 's/\(.*\)[.]pyx$$/\1.c \1.cpp/'); \
125125
cd sage/ext/interpreters/ && rm -f *.so *.c *.h *.py* *.pxd) \
126-
&& (cd "$(SAGE_ROOT)/build/pkgs/sagelib/src/" && rm -rf build); \
126+
&& rm -rf "$(SAGE_ROOT)"/build/pkgs/sagelib/src/build; \
127127
fi
128128

129129
sage_docbuild-clean:

0 commit comments

Comments
 (0)