newvers.sh: put variable assignments on separate lines
This makes it easier to grep for where they're set, and may simplify future merging for FreeBSD derivatives that change these.
This commit is contained in:
parent
0a47132513
commit
68a7758bef
@ -97,7 +97,10 @@ then
|
||||
fi
|
||||
|
||||
touch version
|
||||
v=`cat version` u=${USER:-root} d=`pwd` h=${HOSTNAME:-`hostname`}
|
||||
v=`cat version`
|
||||
u=${USER:-root}
|
||||
d=`pwd`
|
||||
h=${HOSTNAME:-`hostname`}
|
||||
if [ -n "$SOURCE_DATE_EPOCH" ]; then
|
||||
if ! t=`date -r $SOURCE_DATE_EPOCH 2>/dev/null`; then
|
||||
echo "Invalid SOURCE_DATE_EPOCH" >&2
|
||||
|
Loading…
x
Reference in New Issue
Block a user