Commit fe38e0e8 authored by fuzzle's avatar fuzzle

this should do the trick : first number is actual than the API Date will slightly overwritten

with sed -i s/@newdate@/$(date +%Y-%m-%dT%T%Z)/g ${apilocation%.in}
parent 76f13bbc
......@@ -39,7 +39,7 @@ if [ $newnumber -ge 100 -a $newnumber -le 10000 ];
# for timestamp update
# TODO expansion to end-of-line in origin-expression is missing
sed -e s/@newdate@/$(date +%Y-%m-%dT%T%Z)/g $apilocation > ${apilocation%.in}
sed -i s/@newdate@/$(date +%Y-%m-%dT%T%Z)/g ${apilocation%.in}
fi
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment