diff options
author | mbr <mbr@FreeBSD.org> | 2002-06-05 14:33:37 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-06-05 14:33:37 +0000 |
commit | 3e25543c5204a2db1544f03a1d30ea78fbf7159e (patch) | |
tree | a69ac3b9a717f91503d581b8b0c2db09d36d479a /editors/openoffice.org-1.0 | |
parent | 8e6ceda3d69c9a3abf1a4dbea9943e655996d31d (diff) | |
download | FreeBSD-ports-3e25543c5204a2db1544f03a1d30ea78fbf7159e.zip FreeBSD-ports-3e25543c5204a2db1544f03a1d30ea78fbf7159e.tar.gz |
Remove \t from usage(). Add the missing obsolete directory as a copy
from nspr/obsolete.
Diffstat (limited to 'editors/openoffice.org-1.0')
-rw-r--r-- | editors/openoffice.org-1.0/files/zipmoz.sh | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/editors/openoffice.org-1.0/files/zipmoz.sh b/editors/openoffice.org-1.0/files/zipmoz.sh index 878e3d8..6b6b199 100644 --- a/editors/openoffice.org-1.0/files/zipmoz.sh +++ b/editors/openoffice.org-1.0/files/zipmoz.sh @@ -17,10 +17,11 @@ if [ $# -lt 2 -o $# -gt 3 ] ; then echo echo usage: $0 mozilla_dist target [target_dir] echo - echo where - echo "\tmozilla_dist\tpoints to the mozilla distribution" - echo "\ttarget\t\tconcatenates OS, compiler and CPU (e.g. WNTMSCI, IRIXGCCM etc)" - echo "\ttarget_dir\tis the directory to place the zips" + echo where: + echo + echo "mozilla_dist points to the mozilla distribution" + echo "target concatenates OS, compiler and CPU (e.g. FREEBSDGCCI etc)" + echo "target_dir is the directory to place the zips" exit 1 fi @@ -51,6 +52,7 @@ echo --- creating zips for $TARGET, using mozilla distribution in $MOZ_DIST [ ! -d $TARGET_DIR/$TARGET/lib ] && mkdir -p $TARGET_DIR/$TARGET/lib [ ! -d $TARGET_DIR/$TARGET/inc ] && mkdir -p $TARGET_DIR/$TARGET/inc [ ! -d $TARGET_DIR/$TARGET/inc/nspr ] && mkdir -p $TARGET_DIR/$TARGET/inc/nspr +[ ! -d $TARGET_DIR/$TARGET/inc/obsolete ] && mkdir -p $TARGET_DIR/$TARGET/inc/obsolete # Copy the files echo @@ -73,25 +75,31 @@ for i in $LIB_FILES; do if [ ! -f $MOZ_DIST/$i ]; then echo $MOZ_DIST/$i does not exist, check your distribution else - cp $MOZ_DIST/$i $TARGET_DIR/$TARGET/lib/ + cp -R -L $MOZ_DIST/$i $TARGET_DIR/$TARGET/lib/ fi done for i in `ls -1 $MOZ_DIST/$INC_FILES`; do if [ ! -d $i ]; then - cp -r $MOZ_DIST/include/$i $TARGET_DIR/$TARGET/inc/ + cp -R -L $MOZ_DIST/include/$i $TARGET_DIR/$TARGET/inc/ fi done for i in `ls -1 $MOZ_DIST/$INC_FILES2`; do if [ ! -d $i ]; then - cp -R $MOZ_DIST/public/$i $TARGET_DIR/$TARGET/inc + cp -R -L $MOZ_DIST/public/$i $TARGET_DIR/$TARGET/inc fi done for i in `ls -1 $MOZ_DIST/$INC_FILES/nspr`; do if [ ! -d $i ]; then - cp -R $MOZ_DIST/include/nspr/$i $TARGET_DIR/$TARGET/inc/nspr + cp -R -L $MOZ_DIST/include/nspr/$i $TARGET_DIR/$TARGET/inc/nspr + fi +done + +for i in `ls -1 $MOZ_DIST/$INC_FILES/nspr/obsolete`; do + if [ ! -d $i ]; then + cp -R -L $MOZ_DIST/include/nspr/obsolete/$i $TARGET_DIR/$TARGET/inc/obsolete fi done |