BASH   13

build.sh

Guest on 28th July 2022 01:44:44 AM

  1. #!/bin/bash
  2.  
  3. if [ -z "$ICU_BUILD_DIR" ]; then
  4.     echo "Please set the ICU_BUILD_DIR environment variable"
  5.     exit
  6. fi
  7.  
  8. if [ ! -d "$ICU_BUILD_DIR" ]; then
  9.     echo "The directory $ICU_BUILD_DIR pointed at by ICU_BUILD_DIR does not exist"
  10.     exit
  11. fi
  12.  
  13. DIR=`dirname $0`
  14.  
  15. rm $DIR/res/*.res
  16.  
  17. LD_LIBRARY_PATH=$ICU_BUILD_DIR/lib $ICU_BUILD_DIR/bin/genrb -d $DIR/res $DIR/txt/*.txt

Raw Paste


Login or Register to edit or fork this paste. It's free.