mirror of https://gitlab.com/QEF/q-e.git
Modified plugin_makefile to avoid deleting the D3Q directory if it contains a file called "protect" previous implementation was not working because makefile calls /usr/bin/test and not the bash test builtin, and they have different options.
This commit is contained in:
parent
256604dee3
commit
82c4e64454
|
@ -40,7 +40,7 @@ d3q_clean:
|
|||
#d3q_veryclean: d3q_clean
|
||||
d3q_veryclean: d3q_clean
|
||||
# delete unpacked directory and its links, keep the archive
|
||||
test -a ../D3Q/protect || \
|
||||
test -e ../D3Q/protect || \
|
||||
(cd ..; \
|
||||
i=D3Q; \
|
||||
while j=$$(readlink $$i);do rm -rf $$i; i=$$j;done;\
|
||||
|
|
Loading…
Reference in New Issue