Skip to content

Commit

Permalink
Remove configure dependency on nonstandard echo -n
Browse files Browse the repository at this point in the history
  • Loading branch information
phries committed Nov 30, 2014
1 parent 5bd318a commit eb10134
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion shlib-version.sh
Expand Up @@ -6,6 +6,6 @@ major=`grep LIBRAW_SHLIB_CURRENT $vfile |head -1 | awk '{print $3}'`
minor=`grep LIBRAW_SHLIB_REVISION $vfile | head -1 | awk '{print $3}'`
patch=`grep LIBRAW_SHLIB_AGE $vfile | head -1 | awk '{print $3}'`

echo -n "$major:$minor:$patch"
printf "$major:$minor:$patch"


4 changes: 2 additions & 2 deletions version.sh
Expand Up @@ -8,9 +8,9 @@ patch=`grep LIBRAW_PATCH_VERSION $vfile | head -1 | awk '{print $3}'`
tail=`grep LIBRAW_VERSION_TAIL $vfile | head -1 | awk '{print $3}'`

if [ x$tail = xRelease ] ; then
echo -n "$major.$minor.$patch"
printf "$major.$minor.$patch"
else
echo -n "$major.$minor.$patch-$tail"
printf "$major.$minor.$patch-$tail"
fi


0 comments on commit eb10134

Please sign in to comment.