Add compatibility with FreeBSD ls
The ls command of FreebSD does not understand the --search=time parameter for the ls command. "ls -t" is equivalent and behaves on Linux in the same way.
This commit is contained in:
parent
a166257611
commit
9c50bf69f1
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ cp $PEERTUBE_PATH/peertube-latest/config/default.yaml $PEERTUBE_PATH/config/defa
|
|||
|
||||
echo "Differences in configuration files..."
|
||||
cd $PEERTUBE_PATH/versions
|
||||
diff -u "$(ls --sort=t | head -2 | tail -1)/config/production.yaml.example" "$(ls --sort=t | head -1)/config/production.yaml.example"
|
||||
diff -u "$(ls -t | head -2 | tail -1)/config/production.yaml.example" "$(ls -t | head -1)/config/production.yaml.example"
|
||||
|
||||
echo ""
|
||||
echo "==========================================="
|
||||
|
|
Loading…
Reference in a new issue