Home | History | Annotate | Download | only in self-extractors

Lines Matching refs:SCRIPT

188   echo \ \ Generating self-extracting script
189 SCRIPT=extract-$COMPANY-$DEVICE.sh
190 cat PROLOGUE > tmp/$SCRIPT || echo \ \ \ \ Error generating script
191 cat $COMPANY/COPYRIGHT >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
192 cat PART1 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
193 cat $COMPANY/LICENSE >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
194 cat PART2 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
195 echo tail -n +$(expr 2 + $(cat PROLOGUE $COMPANY/COPYRIGHT PART1 $COMPANY/LICENSE PART2 PART3 | wc -l)) \$0 \| tar zxv >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
196 cat PART3 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
197 (cd tmp ; tar zc --owner=root --group=root vendor/ >> $SCRIPT || echo \ \ \ \ Error generating embedded tgz)
198 chmod a+x tmp/$SCRIPT || echo \ \ \ \ Error generating script
199 ARCHIVE=$COMPANY-$DEVICE-$BUILD-$(md5sum < tmp/$SCRIPT | cut -b -8 | tr -d \\n).tgz
202 (cd tmp ; tar --owner=root --group=root -z -c -f ../$ARCHIVE $SCRIPT || echo \ \ \ \ Error archiving script)