Giter Club home page Giter Club logo

Comments (4)

mrworf avatar mrworf commented on May 16, 2024 1

Just did the same thing:

root@DAPPLE:~/repo# cd tmp
root@DAPPLE:~/repo/tmp# git clone https://github.com/mrworf/plexupdate.git
Cloning into 'plexupdate'...
remote: Counting objects: 261, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 261 (delta 0), reused 0 (delta 0), pack-reused 257
Receiving objects: 100% (261/261), 74.95 KiB | 0 bytes/s, done.
Resolving deltas: 100% (142/142), done.
Checking connectivity... done.
root@DAPPLE:~/repo/tmp# hexdump -C plexupdate/
.git/          LICENSE        plexupdate.sh  README.md
root@DAPPLE:~/repo/tmp# hexdump -C plexupdate/plexupdate.sh | less
00000000  23 21 2f 62 69 6e 2f 62  61 73 68 0a 23 0a 23 20  |#!/bin/bash.#.# |
00000010  50 6c 65 78 20 4c 69 6e  75 78 20 53 65 72 76 65  |Plex Linux Serve|
00000020  72 20 64 6f 77 6e 6c 6f  61 64 20 74 6f 6f 6c 0a  |r download tool.|
00000030  23 20 5e 5e 5e 5e 5e 5e  5e 5e 5e 5e 5e 5e 5e 5e  |# ^^^^^^^^^^^^^^|
00000040  5e 5e 5e 5e 5e 5e 5e 5e  5e 5e 5e 5e 5e 5e 5e 5e  |^^^^^^^^^^^^^^^^|
00000050  5e 0a 23 20 54 68 69 73  20 74 6f 6f 6c 20 77 69  |^.# This tool wi|
00000060  6c 6c 20 64 6f 77 6e 6c  6f 61 64 20 74 68 65 20  |ll download the |
00000070  6c 61 74 65 73 74 20 76  65 72 73 69 6f 6e 20 6f  |latest version o|

Could this be the cause?

http://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf

from plexupdate.

mrworf avatar mrworf commented on May 16, 2024

This script was created because I don't have a graphical environment for linux, only headless :) I just pulled the script using wget from https://raw.githubusercontent.com/mrworf/plexupdate/master/plexupdate.sh and ran "hexdump -C plexupdate.sh | less" and there is only LF (0x0A) ... Maybe you accidentally added LF->CRLF when you downloaded the script?

from plexupdate.

Xebozone avatar Xebozone commented on May 16, 2024

I downloaded the script by using git clone on my Linux server
Did I do something wrong?

from plexupdate.

Xebozone avatar Xebozone commented on May 16, 2024

Odd...
I did:
git config core.autocrlf false

it was set to true.
This is from a Ubuntu server. Not sure why this would have been set to true.
Resolved!

from plexupdate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.