We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ff2ba7 + 748ff6f commit a019efcCopy full SHA for a019efc
make.sh
@@ -792,6 +792,11 @@ add_items_int()
792
idir=`locatedir $itemname/$newi silent`
793
if [ ! "X$idir" = "X" ]; then
794
isold=no
795
+ for oldi in $lasti; do
796
+ if [ $oldi = $newi ]; then
797
+ isold=yes
798
+ fi
799
+ done
800
for oldi in $items; do
801
if [ $oldi = $newi ]; then
802
isold=yes
@@ -808,10 +813,6 @@ add_items_int()
808
813
lasti=`echo $lasti | cut -d' ' -f2-`
809
814
else
810
815
items="$items $newi"
811
- newi=`echo $lasti | cut -d' ' -f1`
812
- if [ ! "X$newi" = "X" ] && [ ! "X$oldi" = "X" ] && [ $oldi = $newi ]; then
- lasti=`echo $lasti | cut -d' ' -f2-`
- fi
816
fi
817
818
0 commit comments