summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmmodule/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmmodule/Makefile b/rpmmodule/Makefile
index 1eac6277e..78172e14a 100644
--- a/rpmmodule/Makefile
+++ b/rpmmodule/Makefile
@@ -25,5 +25,5 @@ clean:
rm -f *.o $(TARGET) *~
install: $(TARGET)
- install -d $(PYTHON)
+ [ -d $(PYTHON) ] || install -d $(PYTHON)
install -m 755 $(TARGET) $(PYTHON)