Changeset 5820
- Timestamp:
- 2010-12-23 11:54:38 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daisy/tools/daisy-maven-plugin/src/main/resources/org/outerj/daisy/maven/plugin/scripts/upgrade-app.sh
r5805 r5820 27 27 [ -z "$1" ] && error "I need at least one argument" 28 28 29 app=$1 29 app=$(cd $1 && pwd); 30 30 31 currVerFile=$app/package.version 31 32 read currVer < $currVerFile … … 52 53 53 54 echo "Files to delete before copying new package:" 54 (cd $oldpack/repodata && find . -type f | xargs -n1 -I {} bash -c "test -f ${app}/repodata/{} && echo rm ${app}/repodata/{}")55 (cd $oldpack/wikidata && find . -type f | xargs -n1 -I {} bash -c "test -f ${app}/wikidata/{} && echo rm ${app}/wikidata/{}")55 (cd $oldpack/repodata && find . -type f | xargs -n1 -I {} bash -c "test -f '${app}/repodata/{}' && echo rm \'${app}/repodata/{}\'") 56 (cd $oldpack/wikidata && find . -type f | xargs -n1 -I {} bash -c "test -f '${app}/wikidata/{}' && echo rm \'${app}/wikidata/{}\'") 56 57 echo "I will remove the files listed above before copying the new package" 57 58 echo "Is this okay? (type 'this is okay' to continue)" … … 61 62 62 63 echo "Removing old repodata and wikidata files" 63 (cd $oldpack/repodata && find . -type f | xargs -n1 -I {} bash -c "test -f ${app}/repodata/{} && echo rm ${app}/repodata/{}")|sh64 (cd $oldpack/wikidata && find . -type f | xargs -n1 -I {} bash -c "test -f ${app}/wikidata/{} && echo rm ${app}/wikidata/{}")|sh64 (cd $oldpack/repodata && find . -type f | xargs -n1 -I {} bash -c "test -f '${app}/repodata/{}' && echo rm \'${app}/repodata/{}\'")|sh 65 (cd $oldpack/wikidata && find . -type f | xargs -n1 -I {} bash -c "test -f '${app}/wikidata/{}' && echo rm \'${app}/wikidata/{}\'")|sh 65 66 66 67 echo "Copying new repodata and wikidata files"
Note: See TracChangeset
for help on using the changeset viewer.