]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/src/library-cfg.sh
ncurses 6.3 - patch 20220716
[ncurses.git] / Ada95 / src / library-cfg.sh
index 005979f44467b1eaf7dcd005320761de60329d9c..b9b5c938949583edecf868de9e432232ebd46ff2 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh
 ##############################################################################
-# Copyright (c) 2016-2018,2019 Free Software Foundation, Inc.                #
+# Copyright 2018-2020,2022 Thomas E. Dickey                                  #
+# Copyright 2016,2018 Free Software Foundation, Inc.                         #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
@@ -27,7 +28,7 @@
 # authorization.                                                             #
 ##############################################################################
 #
-# $Id: library-cfg.sh,v 1.6 2019/09/07 20:27:26 tom Exp $
+# $Id: library-cfg.sh,v 1.8 2022/07/16 17:03:59 tom Exp $
 #
 # Work around incompatible behavior introduced with gnat6, which causes
 # gnatmake to attempt to compile all of the C objects which might be part of
@@ -66,7 +67,7 @@ cat >$SCRIPT <<EOF
 }
 EOF
 
-sed -f $SCRIPT $input
+sed -f "$SCRIPT" "$input"
 rc=$?
-rm -f $SCRIPT
-exit $?
+rm -f "$SCRIPT"
+exit $rc