diff --git a/lib/sde-binary/package-gem.sh b/lib/sde-binary/package-gem.sh index 23bf348..bd29447 100755 --- a/lib/sde-binary/package-gem.sh +++ b/lib/sde-binary/package-gem.sh @@ -76,7 +76,7 @@ if $SDEROOT/lib/sde-binary/package.sh --type "tar.bz2" ${versioned:+--versioned} echo_error "Failed to create '$output/$filename.gem'" rm -f "$output/$filename.gem.tmp" else - mv "$output/$filename.gem"{.tmp,} + mv "$output/$filename.gem.tmp" "$output/$filename.gem" fi echo_status "Removing temporary ${filename}tar.bz2 file" diff --git a/lib/sde-binary/package.sh b/lib/sde-binary/package.sh index 6dfeaed..2bf37ee 100755 --- a/lib/sde-binary/package.sh +++ b/lib/sde-binary/package.sh @@ -98,5 +98,5 @@ if [ "$errno" != "0" ]; then rm -f "$output/$filename.tmp" exit 4 else - mv "$output/$filename"{.tmp,} + mv "$output/$filename.tmp" "$output/$filename" fi