git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changelogget: Update for new sourceware.org.
[nethome.git]
/
bin
/
mocksetup
diff --git
a/bin/mocksetup
b/bin/mocksetup
index
3850ca9
..
e811d20
100755
(executable)
--- a/
bin/mocksetup
+++ b/
bin/mocksetup
@@
-70,7
+70,7
@@
for r in $l;do
# mock -q -r $r chroot true echo "$rpath lock check"
for n in passwd group;do
# mock -q -r $r chroot true echo "$rpath lock check"
for n in passwd group;do
- cat /etc/$n $rpath/etc/$n|perl -ne 'print if /^(?:[^:]*:){2}(
5
\d\d):/'|sort|uniq -u|tee -a $rpath/etc/$n
+ cat /etc/$n $rpath/etc/$n|perl -ne 'print if /^(?:[^:]*:){2}(
10
\d\d):/'|sort|uniq -u|tee -a $rpath/etc/$n
done
if [ ! -f $rpath/etc/mtab-orig ];then
c="mv -f $rpath/etc/mtab $rpath/etc/mtab-orig"
done
if [ ! -f $rpath/etc/mtab-orig ];then
c="mv -f $rpath/etc/mtab $rpath/etc/mtab-orig"
@@
-129,7
+129,7
@@
for r in $l;do
rm -f $rpath/usr/local/share/gdb
if ! $u;then
mkdir -p $rpath/usr/local/share
rm -f $rpath/usr/local/share/gdb
if ! $u;then
mkdir -p $rpath/usr/local/share
- ln -s ../../
../
share/gdb $rpath/usr/local/share/gdb
+ ln -s ../../share/gdb $rpath/usr/local/share/gdb
fi
# Old systems incl. RHEL-6 do not feature it.
fi
# Old systems incl. RHEL-6 do not feature it.