summaryrefslogtreecommitdiffstats
path: root/update_scripts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_scripts.sh')
-rwxr-xr-xupdate_scripts.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/update_scripts.sh b/update_scripts.sh
index 9196e795a..5c3dbaeb9 100755
--- a/update_scripts.sh
+++ b/update_scripts.sh
@@ -1,12 +1,12 @@
#!/bin/sh
-if [ -z "$1" ]; then
+if [ -z $1 ]; then
exit 1
fi
-TARGET="$1"
+TARGET=$1
-for i in "$RPM_SOURCE_DIR"/*."$TARGET"; do
+for i in $RPM_SOURCE_DIR/*.$TARGET; do
NEW=${i%.$TARGET}
- cp "$i" "$NEW"
+ cp $i $NEW
done