[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#495119: pasco FTBFS because its clean rule creates files



Package: pasco
Version: 1.0+20040505-2
Severity: important
Tags: patch

pasco fails to build on the build daemons for alpha and mipsel, which
use sudo instead of fakeroot. This happens because the clean rule
creates a bin directory with root permissions. The appended patch
fixes it.


Thiemo


--- pasco-1.0+20040505.orig/debian/rules	2008-08-14 19:06:16.000000000 +0200
+++ pasco-1.0+20040505/debian/rules	2008-08-14 19:04:35.000000000 +0200
@@ -7,7 +7,6 @@ clean:
 
 	$(MAKE) -C src clean
 	rm -rf bin
-	mkdir bin
 
 	dh_clean
 
@@ -15,6 +14,7 @@ build: build-stamp
 build-stamp:
 	dh_testdir
 
+	mkdir -p bin
 	$(MAKE) -C src
 
 	touch build-stamp





Reply to: