LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File firebird-2.5.1-chown.patch of Package firebird (Project openSUSE:Factory)

diff -up builds/install/arch-specific/linux/misc/makeInstallImage.sh.in.orig-chown builds/install/arch-specific/linux/misc/makeInstallImage.sh.in
--- builds/install/arch-specific/linux/misc/makeInstallImage.sh.in.orig-chown	2010-10-13 17:35:13.000000000 +0200
+++ builds/install/arch-specific/linux/misc/makeInstallImage.sh.in	2011-05-17 10:38:04.500019633 +0200
@@ -28,10 +28,15 @@
 # This script builds an image of the installed system into 
 # the gen/buildroot directory.
 
-if [ "`whoami`" != "root" ]; then
-	echo 'You must be root to build package'
-	exit 1
-fi
+#if [ "`whoami`" != "root" ]; then
+#	echo 'You must be root to build package'
+#	exit 1
+#fi
+
+function chown
+{
+  :
+}
 
 # Making an assumption that this program is being run in the gen directory
 BuildRootDir=..