Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: fakeroot.in
===================================================================
--- fakeroot.in	(nonexistent)
+++ fakeroot.in	(revision 19)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+program=$0
+fakeroot_prefix=$(cd $(dirname $program)/.. ; pwd -P)/usr
+
+shell=$1 ; shift ; option=$1 ; shift
+
+#
+# remove extra spaces:
+#
+args=`echo "${@}" | sed 's/ \{1,\}/ /g'`
+
+${fakeroot_prefix}/bin/fakeroot-sysv --lib ${fakeroot_prefix}/lib@LIBDIRSUFFIX@/libfakeroot-0.so \
+                                     --faked ${fakeroot_prefix}/bin/faked-sysv -- $shell $option "$args"