summaryrefslogtreecommitdiff
path: root/src/pathdef.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathdef.sh')
-rwxr-xr-xsrc/pathdef.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pathdef.sh b/src/pathdef.sh
new file mode 100755
index 000000000..b2a83a017
--- /dev/null
+++ b/src/pathdef.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+#
+# pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists
+#
+if test -s auto/link.sed; then
+ cp auto/pathdef.c auto/pathdef.tmp
+ sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c
+ rm -f auto/pathdef.tmp
+fi
+
+# vim:set sw=2 et: