Skip to content

Instantly share code, notes, and snippets.

@checko
Created July 24, 2012 03:26
Show Gist options
  • Save checko/3167833 to your computer and use it in GitHub Desktop.
Save checko/3167833 to your computer and use it in GitHub Desktop.
#!/bin/sh
SRCPATH=/home/charles-chang/Release/AP/CommonEmbedded_mf10.4/
TGTPATH=${PWD}/out/target/product/CV/system/
APLIST=`grep \<N\> ../appIndexTable.xml | sed -e 's/<\/.*>//g' -e 's/<.*>//g'`
for apfile in $APLIST
do
case $apfile in
*.so)
cp $SRCPATH/$apfile $TGTPATH/lib/
;;
*)
cp $SRCPATH/$apfile $TGTPATH/app/
;;
esac
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment