File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /bin/bash
22for i in $( find -maxdepth 1 -type f | sed ' s!.*/!!' | sed ' s/lib32-//g' ) ; do
3- if [[ -f ../$i ]]; then
4- LINES=$( cat ../$i | grep ' \S' | head -n6)
5- cat lib32-$i | tail -n +6
6-
7- elif [[ -f ../base/$i ]]; then
8- LINES=$( cat ../base/$i | grep ' \S' | head -n8)
9- cat lib32-$i | tail -n +8
3+ echo $i :
4+ if [[ -f ../$i ]] && ! cat lib32-$i | grep -q ' PKG_VER' ; then
5+ URLLINE=$( cat ../$i | grep ' URL=' )
6+ echo $URLLINE
7+ cat ../$i | grep ' MAJOR=' > /dev/null
8+ if [[ $? == 0 ]]; then
9+ MAJORLINE=$( cat ../$i | grep ' MAJOR=' )
10+ echo $MAJORLINE
11+ fi
12+ PKGVERLINE=$( cat ../$i | grep ' PKG_VER=' )
13+ echo $PKGVERLINE
14+ elif [[ -f ../base/$i ]] && ! cat lib32-$i | grep -q ' PKG_VER' ; then
15+ URLLINE=$( cat ../base/$i | grep ' URL=' )
16+ echo $URLLINE
17+ cat ../base/$i | grep ' MAJOR=' > /dev/null
18+ if [[ $? == 0 ]]; then
19+ MAJORLINE=$( cat ../base/$i | grep ' MAJOR=' )
20+ echo $MAJORLINE
21+ fi
22+ PKGVERLINE=$( cat ../base/$i | grep ' PKG_VER=' )
23+ echo $PKGVERLINE
1024 fi
25+ echo " "
1126
1227done
You can’t perform that action at this time.
0 commit comments