build.sh 375 B

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