git://git.onelab.eu
/
sliceimage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d837893
)
- add /sbin and /usr/sbin to our PATH in case we are running in an sudo
author
Mark Huang
<mlhuang@cs.princeton.edu>
Sat, 18 Sep 2004 20:22:35 +0000
(20:22 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Sat, 18 Sep 2004 20:22:35 +0000
(20:22 +0000)
environment
vserver-reference.spec
patch
|
blob
|
history
diff --git
a/vserver-reference.spec
b/vserver-reference.spec
index
ea0c859
..
6988e7d
100644
(file)
--- a/
vserver-reference.spec
+++ b/
vserver-reference.spec
@@
-40,6
+40,9
@@
fi
%build
%install
+# Running as root
+export PATH="$PATH:/sbin:/usr/sbin"
+
# Clean up
if grep -q %{installroot}/proc /proc/mounts ; then
umount %{installroot}/proc
@@
-131,6
+134,9
@@
if grep -q %{installroot}/dev/pts /proc/mounts ; then
fi
%clean
+# Running as root
+export PATH="$PATH:/sbin:/usr/sbin"
+
# Clean up
if grep -q %{installroot}/proc /proc/mounts ; then
umount %{installroot}/proc