diff options
author | Kalman Szalai - KAMI <kami911@gmail.com> | 2011-05-08 19:30:24 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-05-12 12:23:27 +0200 |
commit | dcfb2b1132032341198359f6e6cc384eeb9b3ae9 (patch) | |
tree | b76e808aa5c180191e36fbdb4bacddbcdbedd794 /download | |
parent | 65066d6e7f29826980ec492066e99a93a65eadc5 (diff) |
When downloading extensions to src, cut is provided with wrong option switches
I used long switches for cut and your (Windows??) box does not adore about it.
http://comments.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/10214
Diffstat (limited to 'download')
-rwxr-xr-x | download | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -300,7 +300,7 @@ done echo "Copy extensions to their location ..." for pack in $BARCODE_EXTENSION_PACK $DIAGRAM_EXTENSION_PACK $VALIDATOR_EXTENSION_PACK $WATCH_WINDOW_EXTENSION_PACK $NUMBERTEXT_EXTENSION_PACK $HUNART_EXTENSION_PACK $TYPO_EXTENSION_PACK $GOOGLE_DOCS_EXTENSION_PACK $LIGHTPROOF_HU_PACK $LIGHTPROOF_EN_US_PACK $SUNTEMPLATES_DE_PACK $SUNTEMPLATES_EN_US_PACK $SUNTEMPLATES_ES_PACK $SUNTEMPLATES_FR_PACK $SUNTEMPLATES_HU_PACK $SUNTEMPLATES_IT_PACK; do check_file $TARFILE_LOCATION/$pack - packfilename=`echo "$pack" | cut --only-delimited --delimiter=- --fields=2- | cut --delimiter=_ --fields=1` + packfilename=`echo "$pack" | cut -f 2- -s -d - | cut -f 1 -d _` echo "Copy extension: '$pack' as '$packfilename.oxt' ..." mkdir -p $SRC_ROOT/extras/source/extensions/ || exit 1 cp $TARFILE_LOCATION/$pack $SRC_ROOT/extras/source/extensions/$packfilename.oxt || exit 1 |