summaryrefslogtreecommitdiff
path: root/SOURCES/update_scripts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCES/update_scripts.sh')
-rwxr-xr-xSOURCES/update_scripts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/SOURCES/update_scripts.sh b/SOURCES/update_scripts.sh
index 38e6634..5dce4fa 100755
--- a/SOURCES/update_scripts.sh
+++ b/SOURCES/update_scripts.sh
@@ -7,6 +7,6 @@ fi
TARGET="$1"
for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do
- NEW=${i%.$TARGET}
+ NEW=${i%."$TARGET"}
cp "$i" "$(basename "$NEW")"
done