diff options
author | Kalman Szalai - KAMI <kami911@gmail.com> | 2011-05-08 19:30:24 +0200 |
---|---|---|
committer | Kalman Szalai - KAMI <kami911@gmail.com> | 2011-05-08 19:30:24 +0200 |
commit | 8a4e1b2ccf26a9c11fa04a251bf9865de8a576b6 (patch) | |
tree | 7b74cbff673d2efc487002db87266220e786308d | |
parent | Fix space and tab jam in my last commit (diff) | |
download | core-8a4e1b2ccf26a9c11fa04a251bf9865de8a576b6.tar.gz core-8a4e1b2ccf26a9c11fa04a251bf9865de8a576b6.zip |
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
-rwxr-xr-x | download | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -266,7 +266,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 |