Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 66355
Collapse All | Expand All

(-)gettext-0.14.1.orig/gettext-tools/misc/autopoint.in (-10 / +14 lines)
Lines 39-52 Link Here
39
    */* | *\\*) ;;
39
    */* | *\\*) ;;
40
    *) # Need to look in the PATH.
40
    *) # Need to look in the PATH.
41
      if test "${PATH_SEPARATOR+set}" != set; then
41
      if test "${PATH_SEPARATOR+set}" != set; then
42
        { echo "#! /bin/sh"; echo "exit 0"; } > /tmp/conf$$.sh
42
        PATH_SEPARATOR=:
43
        chmod +x /tmp/conf$$.sh
44
        if (PATH="/nonexistent;/tmp"; conf$$.sh) >/dev/null 2>&1; then
45
          PATH_SEPARATOR=';'
46
        else
47
          PATH_SEPARATOR=:
48
        fi
49
        rm -f /tmp/conf$$.sh
50
      fi
43
      fi
51
      save_IFS="$IFS"; IFS="$PATH_SEPARATOR"
44
      save_IFS="$IFS"; IFS="$PATH_SEPARATOR"
52
      for dir in $PATH; do
45
      for dir in $PATH; do
Lines 318-324 Link Here
318
cvs_dir=tmpcvs$$
311
cvs_dir=tmpcvs$$
319
work_dir=tmpwrk$$
312
work_dir=tmpwrk$$
320
mkdir "$cvs_dir"
313
mkdir "$cvs_dir"
314
if [ $? -ne 0 ]; then
315
  echo "ERROR making $cvs_dir"
316
  exit 1
317
fi
321
mkdir "$work_dir"
318
mkdir "$work_dir"
319
if [ $? -ne 0 ]; then
320
  echo "ERROR making $work_dir"
321
  exit 1
322
fi
322
CVSROOT="$srcdir/$cvs_dir"
323
CVSROOT="$srcdir/$cvs_dir"
323
export CVSROOT
324
export CVSROOT
324
unset CVS_CLIENT_LOG
325
unset CVS_CLIENT_LOG
Lines 384-391 Link Here
384
# original - too great risk of version mismatch.
385
# original - too great risk of version mismatch.
385
if test -z "$force"; then
386
if test -z "$force"; then
386
  mismatch=
387
  mismatch=
387
  mismatchfile="${TMPDIR-/tmp}"/autopoint$$.diff
388
  mismatchfile="`mktemp -t autopoint.diff.XXXXXX`"
388
  rm -f "$mismatchfile"
389
  for file in `find "$work_dir/archive" -type f -print | sed -e "s,^$work_dir/archive/,," | LC_ALL=C sort`; do
389
  for file in `find "$work_dir/archive" -type f -print | sed -e "s,^$work_dir/archive/,," | LC_ALL=C sort`; do
390
    func_destfile "$file"
390
    func_destfile "$file"
391
    if test -n "$destfile"; then
391
    if test -n "$destfile"; then
Lines 417-422 Link Here
417
    # Recompute base. It was clobbered by the recursive call.
417
    # Recompute base. It was clobbered by the recursive call.
418
    base=`echo "$1" | sed -e 's,/[^/]*$,,'`
418
    base=`echo "$1" | sed -e 's,/[^/]*$,,'`
419
    test -d "$base" || { echo "Creating directory $base"; mkdir "$base"; }
419
    test -d "$base" || { echo "Creating directory $base"; mkdir "$base"; }
420
    if [ $? -ne 0 ]; then
421
      echo "ERROR making directory $base"
422
      exit 1
423
    fi
420
  fi
424
  fi
421
}
425
}
422
426
(-)gettext-0.14.1.orig/gettext-tools/misc/gettextize.in (-8 / +1 lines)
Lines 39-52 Link Here
39
    */* | *\\*) ;;
39
    */* | *\\*) ;;
40
    *) # Need to look in the PATH.
40
    *) # Need to look in the PATH.
41
      if test "${PATH_SEPARATOR+set}" != set; then
41
      if test "${PATH_SEPARATOR+set}" != set; then
42
        { echo "#! /bin/sh"; echo "exit 0"; } > /tmp/conf$$.sh
42
        PATH_SEPARATOR=:
43
        chmod +x /tmp/conf$$.sh
44
        if (PATH="/nonexistent;/tmp"; conf$$.sh) >/dev/null 2>&1; then
45
          PATH_SEPARATOR=';'
46
        else
47
          PATH_SEPARATOR=:
48
        fi
49
        rm -f /tmp/conf$$.sh
50
      fi
43
      fi
51
      save_IFS="$IFS"; IFS="$PATH_SEPARATOR"
44
      save_IFS="$IFS"; IFS="$PATH_SEPARATOR"
52
      for dir in $PATH; do
45
      for dir in $PATH; do

Return to bug 66355