mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 14:23:09 +00:00
0a4883a6b8
Closes #4671.
12 lines
309 B
Bash
Executable file
12 lines
309 B
Bash
Executable file
#!/bin/bash
|
|
# Expects to be called from Xcode (Run Script build phase),
|
|
# write version number C preprocessor macro to header file.
|
|
|
|
ver="$SCRIPT_OUTPUT_FILE_0"
|
|
|
|
./build_tools/git_version_gen.sh
|
|
|
|
cmp --quiet "FISH-BUILD-VERSION-FILE" "$ver"
|
|
if [ $? -ne 0 ]; then
|
|
/bin/cp FISH-BUILD-VERSION-FILE "$ver"
|
|
fi
|