File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1292,15 +1292,15 @@ scratch_missingdep() {
1292
1292
}
1293
1293
1294
1294
scratch_orphan () {
1295
- tmpallpkg=" /tmp/.pkgquery_allpkg.$$ "
1296
- tmpalldep=" /tmp/.pkgquery_alldep.$$ "
1297
- for pkg in $( allinstalled) ; do
1298
- echo $pkg >> $tmpallpkg
1299
- dep=" $dep $( get_depends $pkg ) "
1295
+ tmpdeplistworld=" /tmp/.deplistworld.$$ "
1296
+ tmpallinstalled=" /tmp/.allinstalled.$$ "
1297
+ for i in $( cat $WORLD_FILE ) ; do
1298
+ deplist $i
1300
1299
done
1301
- echo $dep | tr ' ' ' \n' | sort | uniq > " $tmpalldep "
1302
- grep -xvF -f " $tmpalldep " " $tmpallpkg "
1303
- rm " $tmpalldep " " $tmpallpkg "
1300
+ echo $DEP | tr ' ' ' \n' > $tmpdeplistworld
1301
+ allinstalled > $tmpallinstalled
1302
+ grep -xvF -f $tmpdeplistworld $tmpallinstalled
1303
+ rm $tmpallinstalled $tmpdeplistworld
1304
1304
}
1305
1305
1306
1306
scratch_path () {
You can’t perform that action at this time.
0 commit comments