kernel/update_scripts.sh

13 lines
128 B
Bash
Raw Normal View History

#!/bin/sh
2019-11-05 22:10:53 +00:00
if [ -z $1 ]; then
2019-11-05 22:10:53 +00:00
exit 1
fi
TARGET=$1
2019-11-05 22:10:53 +00:00
for i in $RPM_SOURCE_DIR/*.$TARGET; do
NEW=${i%.$TARGET}
cp $i $NEW
2019-11-05 22:10:53 +00:00
done