mirror of
https://github.com/AdaCore/Certyflie.git
synced 2026-02-12 12:27:35 -08:00
12 lines
315 B
Bash
12 lines
315 B
Bash
#!/usr/bin/env bash
|
|
|
|
FILE=utils/src/version.c
|
|
|
|
#Patch version.c to delete the versions informations
|
|
sed -i "s/SLOCAL_REVISION=\".*\";\$/SLOCAL_REVISION=\"\";/" $FILE
|
|
sed -i "s/STAG=\".*\";\$/STAG=\"\";/" $FILE
|
|
sed -i "s/SREVISION=\".*\";\$/SREVISION=\"\";/" $FILE
|
|
sed -i "s/MODIFIED=.*;\$/MODIFIED=1;/" $FILE
|
|
|
|
true
|