diff options
Diffstat (limited to 'SOURCES/update_scripts.sh')
-rwxr-xr-x | SOURCES/update_scripts.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SOURCES/update_scripts.sh b/SOURCES/update_scripts.sh index 9196e79..38e6634 100755 --- a/SOURCES/update_scripts.sh +++ b/SOURCES/update_scripts.sh @@ -8,5 +8,5 @@ TARGET="$1" for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do NEW=${i%.$TARGET} - cp "$i" "$NEW" + cp "$i" "$(basename "$NEW")" done |