Changeset 37917 for other-projects
- Timestamp:
- 2023-08-10T18:00:25+12:00 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/expeditee-release-kits/trunk/create-expeditee.sh
r30398 r37917 3 3 4 4 # http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself 5 #currentdir should be the path to expeditee-release-kits 5 6 currentdir=$( cd "$(dirname "$0")" ; pwd -P ) 6 7 7 if ! test -f "$currentdir/ expeditee-release-kits/rke-setup.sh"; then8 if ! test -f "$currentdir/rke-setup.sh"; then 8 9 echo "" 9 10 echo "********************" 10 echo "First edit $currentdir/ expeditee-release-kits/rke-setup.sh.in"11 echo "to generate $currentdir/ expeditee-release-kits/rke-setup.sh"11 echo "First edit $currentdir/rke-setup.sh.in" 12 echo "to generate $currentdir/rke-setup.sh" 12 13 echo "" 13 14 echo "********************" … … 17 18 # rke-setup uses local paths, so cd into expeditee-release-kits first 18 19 # then call rke-setup.sh to source the environment vars it sets 19 pushd "$currentdir /expeditee-release-kits"20 pushd "$currentdir" 20 21 source "rke-setup.sh" 21 22 returnval=$? … … 38 39 fi 39 40 if ! test -f expeditee/rke-build.properties; then 40 cp $currentdir/ expeditee-release-kits/rke-build.properties.in expeditee/rke-build.properties41 cp $currentdir/rke-build.properties.in expeditee/rke-build.properties 41 42 fi 42 43 pushd expeditee … … 50 51 cp products/Expeditee-1${products_suffix} uploads/Expeditee-1-${DATE}${uploads_suffix} 51 52 cp rke.out uploads/rke-${DATE}${out_suffix}.out 52 cd uploads && tar -c * | ssh -T -i "${identity_file}" [email protected] 53 54 # the ssh inside the lsb cannot use ed25519 keys, so the uploading step is done outside lsb now 55 #cd uploads && tar -c * | ssh -T -i "${identity_file}" [email protected] 53 56 54 57 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.