diff --git a/bin/get-deno.sh b/bin/get-deno.sh index f8123ad..256399d 100755 --- a/bin/get-deno.sh +++ b/bin/get-deno.sh @@ -42,7 +42,7 @@ echo "grabbing deno $DENO_VERSION from $CHANNEL for $ARCH" if curl -q -LSsf -o "$TMP_FILE" "$URL" && [ -f "$TMP_FILE" ]; then mkdir -p "$TMP_DIR" && cd "$TMP_DIR" || exit 10 unzip "$TMP_FILE" - mv -fv "$TMP_DIR/deno" "$BIN_FILE" + cp -Rf "$TMP_DIR/deno" "$BIN_FILE" ls -lA "$BIN_FILE" "$TMP_DIR/deno" chmod -Rf 755 "$BIN_FILE" else