File: fix-sphinx.patch

package info (click to toggle)
open-build-service 2.7.1-10
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 14,828 kB
  • ctags: 6,326
  • sloc: ruby: 59,758; perl: 44,290; xml: 9,804; sh: 4,639; sql: 1,349; python: 435; makefile: 224; cpp: 46
file content (14 lines) | stat: -rw-r--r-- 676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix brackets in Makefile thst prepare to run sphine.
Author: Andrew Lee (李健秋) <ajqlee@debian.org>
--- open-build-service-2.7.1.orig/src/api/Makefile
+++ open-build-service-2.7.1/src/api/Makefile
@@ -14,7 +14,8 @@ prepare_dirs:
 	$(INSTALL) -d -m 755 $(DESTDIR)$(OBS_API_PREFIX)/tmp
 	$(INSTALL) -d -m 755 $(DESTDIR)$(OBS_API_PREFIX)/config
 	# prepare for running sphinx daemon
-	$(INSTALL) -m 0755 -d $(DESTDIR)$(OBS_API_PREFIX)/db/sphinx{,/production}
+	$(INSTALL) -m 0755 -d $(DESTDIR)$(OBS_API_PREFIX)/db/sphinx
+	$(INSTALL) -m 0755 -d $(DESTDIR)$(OBS_API_PREFIX)/db/sphinx/production
 
 prepare_rake: prepare_dirs
 	cp -a * $(DESTDIR)$(OBS_API_PREFIX)