Changeset 3bb9cb in git
- Timestamp:
- May 2, 2011, 7:23:26 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 4c811bd87d5d22598f48a690492a550955da7062
- Parents:
- 10a85fe55eedddcdac7113f2591fa47d4753c91c
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-05-02 19:23:26+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:32+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sw.sh
r10a85fe r3bb9cb 70 70 71 71 echo "Creating empty tempdir: $SW" >> $LOG 72 [ -d $SW ] && { echo "Error: $SW exists... cleaning up..." >> $LOG; mv -f $SW "$SW.moved" 1>> $LOG 2>&1 && { rm -f -R "$SW.moved" 1>> $LOG 2>&1 || echo "Error: could not remove '$SW.moved'"; } || { echo "Error: could not rename '$SW' -> '$SW.moved'"; exit 1; }; 72 [ -d $SW ] && { echo "Error: $SW exists... cleaning up..." >> $LOG; mv -f $SW "$SW.moved" 1>> $LOG 2>&1 && { rm -f -R "$SW.moved" 1>> $LOG 2>&1 || echo "Error: could not remove '$SW.moved'"; } || { echo "Error: could not rename '$SW' -> '$SW.moved'"; exit 1; }; } 73 73 74 74 mkdir -p $SW || { echo "Error: cannot create tempdir: $SW" >> $LOG; exit 1; } … … 93 93 94 94 echo "Trying static version... " >> $LOG 95 Build "--enable-p-procs-static" || { echo "Error: could not build with '--enable-p-procs-static'" >> $LOG; } && Check95 Build "--enable-p-procs-static" && Check || { echo "Error: could not build with '--enable-p-procs-static'" >> $LOG; } 96 96 97 97 # return git repo to the untouched state: 98 echo "Resetting the source directory... " >> $LOG 98 99 Reset 99 100 100 101 echo "Trying dynamic version... " >> $LOG 101 Build "--enable-p-procs-dynamic" || { echo "Error: could not build with '--enable-p-procs-dynamic'" >> $LOG; } && Check102 Build "--enable-p-procs-dynamic" && Check || { echo "Error: could not build with '--enable-p-procs-dynamic'" >> $LOG; } 102 103 103 104 cd - || { CleanUp; exit 1; } 104 105 105 CleanUp && exit 0 || exit 1 106 CleanUp || exit 1 107 108 exit 0
Note: See TracChangeset
for help on using the changeset viewer.