Make sure X11rdp is not copied to a file called "bin"

It can happen if buildx.sh is run with one argument and them with another
without removing build_dir in between.
This commit is contained in:
Pavel Roskin 2016-12-30 20:47:09 -08:00
parent 983a7073bf
commit 9c83414a9c

View File

@ -286,7 +286,7 @@ fi
# this will copy the build X server with the other X server binaries # this will copy the build X server with the other X server binaries
cd rdp cd rdp
cp X11rdp $X11RDPBASE/bin cp X11rdp $X11RDPBASE/bin/X11rdp
strip $X11RDPBASE/bin/X11rdp strip $X11RDPBASE/bin/X11rdp
if [ "$2" = "drop" ]; then if [ "$2" = "drop" ]; then