mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[misc] optimize for size
* Tests show that it should have much impact on UFD creation speed and helps shave ~15KB with gcc 4.8.x * Also adjust the version nano so that it matches the number of commits seen by github * This means there is NO build 399
This commit is contained in:
parent
f424229e0f
commit
8db3a26bf7
5 changed files with 13 additions and 13 deletions
|
@ -13,8 +13,8 @@ type -P sed &>/dev/null || { echo "sed command not found. Aborting." >&2; exit 1
|
|||
type -P git &>/dev/null || { echo "git command not found. Aborting." >&2; exit 1; }
|
||||
|
||||
VER=`git log --oneline | wc -l`
|
||||
# trim spaces
|
||||
TAGVER=`echo $VER`
|
||||
# adjust so that we match the github commit count
|
||||
TAGVER=`expr $VER + 1`
|
||||
# there may be a better way to prevent improper nano on amend. For now the detection
|
||||
# of a .amend file in the current directory will do
|
||||
if [ -f ./.amend ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue