Skip to content

Commit

Permalink
old module fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sir_Yaro committed Dec 31, 2021
1 parent f9fe8fd commit d09db06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arrange_data/scripts/poker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
page=`echo $1|rev|cut -f1 -d";"|rev`
pliki=`echo $1|rev|cut -d";" -f2-|rev`

if [ `tr -dc ';'<<<$pliki| wc -c` -eq 0 ]; then
pliki="${pliki};"
fi

plik=`echo $pliki|cut -f1 -d";"`; if [ "$plik" != "" ]; then composite -verbose -geometry +152+137 $plik /tmp/montage.png /tmp/montage.png;fi
plik=`echo $pliki|cut -f2 -d";"`; if [ "$plik" != "" ]; then composite -verbose -geometry +896+137 $plik /tmp/montage.png /tmp/montage.png;fi
plik=`echo $pliki|cut -f3 -d";"`; if [ "$plik" != "" ]; then composite -verbose -geometry +1640+137 $plik /tmp/montage.png /tmp/montage.png;fi
Expand Down

0 comments on commit d09db06

Please sign in to comment.