summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-05-07 13:34:36 +0300
committerArnold D. Robbins <arnold@skeeve.com>2021-05-07 13:34:36 +0300
commit0791273b7440635339a87d25e1b433747d59bc64 (patch)
tree947e16df2c4f0dc03410a9c64ef02a30f779cae0
parent02772ae80a40284f316609913d700cbfc4190e40 (diff)
downloadgawk-0791273b7440635339a87d25e1b433747d59bc64.tar.gz
Fix update-support.sh script to work from top directory.
-rw-r--r--helpers/ChangeLog4
-rwxr-xr-xhelpers/update-support.sh8
2 files changed, 9 insertions, 3 deletions
diff --git a/helpers/ChangeLog b/helpers/ChangeLog
index b91339b1..4f448b99 100644
--- a/helpers/ChangeLog
+++ b/helpers/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-07 Arnold D. Robbins <arnold@skeeve.com>
+
+ * update-support.sh: Change to work from top level directory.
+
2021-04-23 Arnold D. Robbins <arnold@skeeve.com>
* update-support.sh: Update list of files to copy over.
diff --git a/helpers/update-support.sh b/helpers/update-support.sh
index cc2d24aa..06ed1020 100755
--- a/helpers/update-support.sh
+++ b/helpers/update-support.sh
@@ -27,14 +27,16 @@ regex.h
regex_internal.c
regex_internal.h
verify.h
-malloc/dynarray.h
malloc/dynarray-skeleton.c
+malloc/dynarray.h
+malloc/dynarray_emplace_enlarge.c
+malloc/dynarray_finalize.c
malloc/dynarray_resize.c"
for i in $FILE_LIST
do
- if [ -f $GL/$i ] && [ -f $i ]
+ if [ -f $GL/$i ] && [ -f support/$i ]
then
- cp $GL/$i $i
+ cp $GL/$i support/$i
fi
done