Lines Matching refs:work_dir
470 work_dir=tmpwrk$$
471 mkdir "$work_dir" || {
472 if test -d "$work_dir"; then
473 func_fatal_error "directory $work_dir already exists"
475 func_fatal_error "cannot create directory $work_dir"
497 | (cd "$work_dir" && tar xf - "gettext-$ver")
498 if test `find "$work_dir" -type f -print | wc -l` = 0; then
499 rm -rf "$work_dir"
502 mv "$work_dir/gettext-$ver" "$work_dir/archive"
600 cd "$work_dir"
608 if test `find $work_dir/archive -name CVS -type d -print | wc -l` != 0; then
609 rm -rf "$work_dir"
612 if test `find $work_dir/archive -type f -print | wc -l` = 0; then
613 rm -rf "$work_dir"
621 mkdir "$work_dir/archive"
622 gzip -d -c < "$gettext_datadir/archive.git.tar.gz" | (cd "$work_dir/archive" && tar xf -)
627 cd "$work_dir/archive" && git checkout -q "gettext-$ver"
629 rm -rf "$work_dir"
632 (cd "$work_dir/archive" && rm -rf .git .gitignore)
712 …for file in `find "$work_dir/archive" -type f -print | sed -e "s,^$work_dir/archive/,," | LC_ALL=C…
719 if func_compare "$finaldestfile" "$work_dir/archive/$file"; then
725 …diff -c "$work_dir/archive/$file" "$finaldestfile" | sed -e "1s,$work_dir/archive/,," >> "$mismatc…
740 rm -rf "$work_dir"
790 for file in `find "$work_dir/archive" -type f -print | sed -e "s,^$work_dir/archive/,," | LC_ALL=C …
798 if func_compare "$finaldestfile" "$work_dir/archive/$file"; then
811 func_copy "$work_dir/archive/$file" "$finaldestfile"
825 rm -rf "$work_dir"