Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[a770cf]: copySwakFilesToSite.sh Maximize Restore History

Download this file

copySwakFilesToSite.sh    29 lines (24 with data), 525 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#! /bin/sh
. theFiles.sh
if [ -d $FOAM_SITE_LIBBIN ]
then
echo "$FOAM_SITE_LIBBIN already existing"
else
mkdir -pv $FOAM_SITE_LIBBIN
fi
if [ -d $FOAM_SITE_APPBIN ]
then
echo "$FOAM_SITE_APPBIN already existing"
else
mkdir -pv $FOAM_SITE_APPBIN
fi
for lib in ${SWAKLIBS[@]}
do
echo "Copying lib$lib to $FOAM_SITE_LIBBIN"
cp $FOAM_USER_LIBBIN/lib$lib.* $FOAM_SITE_LIBBIN
done
for util in ${SWAKUTILS[@]}
do
echo "Copying $util to $FOAM_SITE_APPBIN"
cp $FOAM_USER_APPBIN/$util $FOAM_SITE_APPBIN
done