# -*- shell-script -*-
#
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
}
else
argv0=$0
- # Avoid command substitution failure, for it might cause problems with
- # "set -e" on some shells.
- case `(set -o) 2>/dev/null || :` in *posix*) set -o posix;; esac
+ # Ignore command substitution failure, for it might cause problems
+ # with "set -e" on some shells.
+ am_shell_opts=$(set -o) || :
+ case $am_shell_opts in *posix*) set -o posix;; esac
+ unset am_shell_opts
fi
# A single whitespace character.