source: gs3-extensions/selfcontained-rclone/trunk/SETUP.sh@ 37374

Last change on this file since 37374 was 37374, checked in by davidb, 14 months ago

First cut at files to get things going

File size: 588 bytes
Line 
1
2package_name="RClone"
3installed_dir=rclone-all
4
5full_installed_dir="$PWD/$installed_dir"
6
7OS_ALLCAPS=`uname | tr 'a-z' 'A-Z'`
8
9if test ! -d "$full_installed_dir" ; then
10 echo "" >&2
11 echo "In seting up $package_name, did not find directory:" >&2
12 echo " $full_installed_dir" >&2
13 echo "" >&2
14 echo "Have you run ./PREPARE-${OS_ALLCAPS}.sh?" >&2
15 echo "Exiting..." >&2
16 echo "" >&2
17 return
18fi
19
20RCLONE_HOME="$full_installed_dir" ; export RCLONE_HOME
21PATH="$RCLONE_HOME/$installed_dir:$PATH" ; export PATH
22
23echo + "Set RCLONE_HOME and updated PATH"
Note: See TracBrowser for help on using the repository browser.