man: remove a reference to pacmd from default.pa.5
[platform/upstream/pulseaudio.git] / git-version-gen
index 724da66..079b93e 100755 (executable)
@@ -15,9 +15,7 @@ scriptversion=2012-09-25.20
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
 
 # This script is derived from GIT-VERSION-GEN from GIT: http://git.or.cz/.
 # It may be run two ways:
@@ -86,7 +84,10 @@ then
     v=`cat $tarball_version_file` || exit 1
     case $v in
        *$nl*) v= ;; # reject multi-line output
-       [0-9]*) ;;
+       [0-9]*)
+               echo "$v" | tr -d '\012'
+               exit 0
+               ;;
        *) v= ;;
     esac
     test -z "$v" \