Changeset 308 for trunk


Ignore:
Timestamp:
Dec 6, 2010, 7:28:47 PM (14 years ago)
Author:
katerina
Message:

Fix hardcoded temp directory in deployment scripts (ticket #230).

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/deploy.sh.in

    r38 r308  
    168168yule_data="@mydataroot@"
    169169
     170# The temporary directory to use. Default is '/tmp', but some
     171# sites may mount this 'noexec'.
     172#
     173temp_dir="/tmp"
     174
    170175#__END_CUT__
    171176
     
    219224export yule_conf
    220225export yule_data
     226export temp_dir
    221227
    222228# dialog
     
    642648    ;;
    643649
     650  --tmpdir | -tmpdir)
     651    opt_prev=temp_dir
     652    ;;
     653  --tmpdir=* | -tmpdir=*)
     654    temp_dir="$optarg"; export temp_dir
     655    ;;
     656
    644657  -o | --logfile | -logfile)
    645658    opt_prev=logfile
  • trunk/dsys/comBUILD

    r27 r308  
    7070    fi
    7171
    72     tmpdir=`eval echo "/tmp/sh_${src_version}_${arch}_${format}_$$"`
     72    tmpdir=`eval echo "${temp_dir}/sh_${src_version}_${arch}_${format}_$$"`
    7373
    7474    #---------------------------------------------------------------------
  • trunk/dsys/comINSTALL

    r65 r308  
    169169    #---------------------------------------------------------------------
    170170
    171     tmpdir=`eval echo "/tmp/sh_${src_version}_${arch}_${format}_$$"`
     171    tmpdir=`eval echo "${temp_dir}/sh_${src_version}_${arch}_${format}_$$"`
    172172
    173173    if test x"$simulate" = x0
  • trunk/dsys/comUNINSTALL

    r27 r308  
    7979    #---------------------------------------------------------------------
    8080
    81     tmpdir=`eval echo "/tmp/sh_${src_version}_${arch}_${format}_$$"`
     81    tmpdir=`eval echo "${temp_dir}/sh_${src_version}_${arch}_${format}_$$"`
    8282
    8383    if test x"$simulate" = x0
Note: See TracChangeset for help on using the changeset viewer.