| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | echoscip-shell system . . echo. "GEN $1" |
| 4 | echoscip-shell system . . echo. "// This file was generated by makedebversionhdr |
| 5 | #define MICROPY_GIT_TAG \"v$(dpkg-parsechangelogscip-shell system . . dpkg-parsechangelog. -l "$2" --show-field Version)\" |
| 6 | #define MICROPY_GIT_HASH \"(null)\" |
| 7 | #define MICROPY_BUILD_DATE \"$(TZ=UTC datescip-shell system . . date. --date=@$(dpkg-parsechangelogscip-shell system . . dpkg-parsechangelog. -l "$2" --show-field Timestamp) +%F)\"" > "$1" |