summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-xupdate_scripts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_scripts.sh b/update_scripts.sh
index 9196e795a..a36dc475c 100755
--- a/update_scripts.sh
+++ b/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