Marcus Meissner
afc8869d76
update to 1.20 and some improvements OBS-URL: https://build.opensuse.org/request/show/204873 OBS-URL: https://build.opensuse.org/package/show/devel:tools/fakeroot?expand=0&rev=5
20 lines
693 B
Diff
20 lines
693 B
Diff
From: Adam Mizerski <adam@mizerski.pl>
|
|
Date: 2013-10-26 17:18:55 +0200
|
|
Subject: Fix paths to setcap and getcap
|
|
Upstream: no
|
|
|
|
In openSUSE /sbin is not in PATH.
|
|
|
|
diff -ru fakeroot-1.20/test/t.xattr fakeroot-1.20_mod/test/t.xattr
|
|
--- fakeroot-1.20/test/t.xattr 2013-09-20 15:54:24.000000000 +0200
|
|
+++ fakeroot-1.20_mod/test/t.xattr 2013-10-26 17:18:34.859558497 +0200
|
|
@@ -23,7 +23,7 @@
|
|
mkdir $tmp
|
|
touch $tmp/foo
|
|
# fakeroot mangles spaces unless the getopt utility is the GNU version
|
|
-echo "setcap cap_net_raw+ep $tmp/foo; getcap $tmp/foo" >$tmp/sh
|
|
+echo "/sbin/setcap cap_net_raw+ep $tmp/foo; /sbin/getcap $tmp/foo" >$tmp/sh
|
|
run_fakeroot -- \
|
|
${posixshell} $tmp/sh >$tmp/out
|
|
cat $tmp/out
|