From d0a82f1e0fa60ffedb672422bf6779de24b8bd11 Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Tue, 5 Nov 2019 17:10:53 -0500 Subject: Sync up on adding a bunch of files --- update_scripts.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 update_scripts.sh (limited to 'update_scripts.sh') diff --git a/update_scripts.sh b/update_scripts.sh new file mode 100755 index 000000000..7cacfb6c1 --- /dev/null +++ b/update_scripts.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +if [ -z $1 ]; then + exit 1 +fi + +TARGET=$1 + +for i in $RPM_SOURCE_DIR/*.$TARGET; do + NEW=$(echo $i | sed -e "s/\.$TARGET//") + cp $i $NEW +done -- cgit