summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-09-01 14:42:25 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-09-01 14:42:25 +0000
commit1b1f845635a1542fc2b7fda43d8dc44e55a8fded (patch)
tree0fecbe5b910b08edf7837a6a2be02d7af7c85bc5 /bin
parent7a70785bb2b18b7ae415aa0382b7f8c2adfcd2a4 (diff)
downloadportage-1b1f845635a1542fc2b7fda43d8dc44e55a8fded.tar.gz
portage-1b1f845635a1542fc2b7fda43d8dc44e55a8fded.tar.bz2
portage-1b1f845635a1542fc2b7fda43d8dc44e55a8fded.zip
68928-spawn-command-isabs-zmedico.patch (spawn included "." in PATH)
98727_sleep_locale_cleanup.patch (sleep was defined twice for "." and "," locales) 98827_lchown_normal_files.patch (lchown was being used on known-to-be-regular files) 98827_darwin_noop_lchown.patch (lchwon was aliased to chown on darwin) 99101_ccache_perms_adjust.patch (perms test and adjustment didn't match) 99120_uid_gid_mixup.patch (portage gid used in place of uid) 99418_merge_retcode_ignored.patch (dispatch-conf ignored result of merge command) 100382_incomplete_world.patch (versioned atoms were not being added to world) broken-stat-perms.patch (result of conditional execution being unconditionally tested) svn path=/main/branches/2.0/; revision=1960
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dispatch-conf5
-rwxr-xr-xbin/ebuild.sh34
-rwxr-xr-xbin/emerge2
3 files changed, 22 insertions, 19 deletions
diff --git a/bin/dispatch-conf b/bin/dispatch-conf
index 0d316126a..5007353fc 100755
--- a/bin/dispatch-conf
+++ b/bin/dispatch-conf
@@ -186,7 +186,10 @@ class dispatch:
elif c == 'm':
merged = SCRATCH_DIR+"/"+os.path.basename(conf['current'])
print
- os.system (self.options['merge'] % (merged, conf ['current'], newconf))
+ ret = os.system (self.options['merge'] % (merged, conf ['current'], newconf))
+ if ret:
+ print "Failure running 'merge' command"
+ continue
shutil.copyfile(merged, mrgconf)
os.remove(merged)
mystat = os.lstat(conf['new'])
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index ab3e05c73..ffb2c25d9 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -867,15 +867,11 @@ dyn_compile() {
echo "!!! that you know what you are doing... You have 5 seconds to abort..."
echo
- echo -ne "\a"; sleep 0.25 &>/dev/null; echo -ne "\a"; sleep 0.25 &>/dev/null
- echo -ne "\a"; sleep 0.25 &>/dev/null; echo -ne "\a"; sleep 0.25 &>/dev/null
- echo -ne "\a"; sleep 0.25 &>/dev/null; echo -ne "\a"; sleep 0.25 &>/dev/null
- echo -ne "\a"; sleep 0.25 &>/dev/null; echo -ne "\a"; sleep 0.25 &>/dev/null
-
- echo -ne "\a"; sleep 0,25 &>/dev/null; echo -ne "\a"; sleep 0,25 &>/dev/null
- echo -ne "\a"; sleep 0,25 &>/dev/null; echo -ne "\a"; sleep 0,25 &>/dev/null
- echo -ne "\a"; sleep 0,25 &>/dev/null; echo -ne "\a"; sleep 0,25 &>/dev/null
- echo -ne "\a"; sleep 0,25 &>/dev/null; echo -ne "\a"; sleep 0,25 &>/dev/null
+ for x in 1 2 3 4 5 6 7 8; do
+ echo -ne "\a"
+ LC_ALL=C sleep 0.25
+ done
+
sleep 3
fi
@@ -1129,10 +1125,12 @@ dyn_install() {
local count=0
find "${D}/" -user portage | while read file; do
count=$(( $count + 1 ))
- [[ ! -L "${file}" ]] && s=$(stat_perms "$file")
- if [ -z "${s}" ]; then
- ewarn "failed stat_perm'ing $file. User intervention during install isn't wise..."
- continue
+ if [ ! -L "${file}" ]; then
+ s=$(stat_perms "$file")
+ if [ -z "${s}" ]; then
+ ewarn "failed stat_perm'ing $file. User intervention during install isn't wise..."
+ continue
+ fi
fi
chown root "$file"
[[ ! -L "${file}" ]] && chmod "$s" "$file"
@@ -1144,10 +1142,12 @@ dyn_install() {
count=0
find "${D}/" -group portage | while read file; do
count=$(( $count + 1 ))
- [[ ! -L "${file}" ]] && s=$(stat_perms "$file")
- if [ -z "${s}" ]; then
- echo "failed stat_perm'ing '$file' . User intervention during install isn't wise..."
- continue
+ if [ ! -L "${file}" ]; then
+ s=$(stat_perms "$file")
+ if [ -z "${s}" ]; then
+ echo "failed stat_perm'ing '$file' . User intervention during install isn't wise..."
+ continue
+ fi
fi
chgrp 0 "${file}"
[[ ! -L "${file}" ]] && chmod "$s" "$file"
diff --git a/bin/emerge b/bin/emerge
index 987c37df3..e749b5356 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1114,7 +1114,7 @@ class depgraph:
if not self.mysd:
return (0,myfavorites)
elif not "--oneshot" in myopts:
- myfavorites.append(mykey)
+ myfavorites.append(portage.dep_getkey(mykey))
missing=0
if "--usepkgonly" in myopts: