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

Lines Matching refs:SCRIPT

234   echo \ \ Generating self-extracting script
235 SCRIPT=extract-$COMPANY-$DEVICE.sh
236 cat PROLOGUE > tmp/$SCRIPT || echo \ \ \ \ Error generating script
237 cat $COMPANY/COPYRIGHT >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
238 cat PART1 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
239 cat $COMPANY/LICENSE >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
240 cat PART2 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
241 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
242 cat PART3 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
243 (cd tmp ; tar zc --owner=root --group=root vendor/ >> $SCRIPT || echo \ \ \ \ Error generating embedded tgz)
244 chmod a+x tmp/$SCRIPT || echo \ \ \ \ Error generating script
245 ARCHIVE=$COMPANY-$DEVICE-$BUILD-$(md5sum < tmp/$SCRIPT | cut -b -8 | tr -d \\n).tgz
248 (cd tmp ; tar --owner=root --group=root -z -c -f ../$ARCHIVE $SCRIPT || echo \ \ \ \ Error archiving script)