3
0
Fork 0
forked from mirrors/nixpkgs

pruneLibtoolFiles: check if prefix exists

This commit is contained in:
Piotr Bogdan 2018-12-09 22:44:29 +00:00
parent 9cd155f1e2
commit 93545a8910

View file

@ -8,7 +8,7 @@
fixupOutputHooks+=(_pruneLibtoolFiles)
_pruneLibtoolFiles() {
if [ "$dontPruneLibtoolFiles" ]; then
if [ "$dontPruneLibtoolFiles" ] || [ ! -e "$prefix" ]; then
return
fi