General TC > Programming & Scripting - Unofficial
Tinkering with rebuildfstab
Rich:
Hi curaga
Found a bug.
Changed:
--- Code: ---mkdir -p "/mnt/$DEVNAME" 2>/dev/null >/dev/null
--- End code ---
To:
--- Code: ---mkdir -p "$MOUNTPOINT" 2>/dev/null >/dev/null
--- End code ---
In 2 places. Only the second instance caused an error, but both should
be using "$MOUNTPOINT" just like the printf statements do.
Pull request created.
Quick question. I logged into github and clicked on Sync fork so my
copy matches the Tinycore copy.
Locally, I have this:
--- Code: ---c@E310:~$ cd TC-Git/
tc@E310:~/TC-Git$ ls -l
total 12
-rw-r--r-- 1 tc staff 170 Feb 28 13:13 CloneCommands.txt
drwxr-sr-x 9 tc staff 4096 Feb 28 13:39 Core-scripts/
-rwxrwxrwx 1 tc staff 1927 Mar 1 20:31 depends-on.sh
tc@E310:~/TC-Git$ git clone https://github.com/rarost/Core-scripts.git
fatal: destination path 'Core-scripts' already exists and is not an empty directory.
tc@E310:~/TC-Git$
--- End code ---
I deleted Core-scripts/ and ran git clone https://github.com/rarost/Core-scripts.git
again and made my changes.
What command should I have run to make my local copy match my copy on github?
curaga:
"git pull" should be enough. Merged.
Navigation
[0] Message Index
[*] Previous page
Go to full version