update_scripts.sh 156 B

123456789101112
  1. #!/bin/sh
  2. if [ -z "$1" ]; then
  3. exit 1
  4. fi
  5. TARGET="$1"
  6. for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do
  7. NEW=${i%."$TARGET"}
  8. cp "$i" "$(basename "$NEW")"
  9. done