mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-13 15:27:18 +00:00
22 lines
231 B
Bash
Executable File
22 lines
231 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
set_ok() {
|
|
t="$1"
|
|
|
|
if [ -e "$t".lst.ok ]
|
|
then
|
|
cp "$t".lst "$t".lst.ok
|
|
fi
|
|
|
|
if [ -e "$t".objd.ok ]
|
|
then
|
|
cp "$t".objd "$t".objd.ok
|
|
fi
|
|
}
|
|
|
|
for fn in "$@"
|
|
do
|
|
set_ok "$fn"
|
|
done
|
|
|