fix diff order
authorJohn Livingston <38844060+JohnXLivingston@users.noreply.github.com>
Mon, 1 Oct 2018 14:21:55 +0000 (16:21 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 3 Oct 2018 07:53:03 +0000 (09:53 +0200)
scripts/upgrade.sh

index 714c026164436dd5fadf7116b1e19753847c97e1..b29615fb1c009d94f4683b526c118f603de008cc 100755 (executable)
@@ -56,5 +56,5 @@ yarn install --production --pure-lockfile
 cp $PEERTUBE_PATH/peertube-latest/config/default.yaml $PEERTUBE_PATH/config/default.yaml
 
 echo "Differences in configuration files..."
-diff -u "$PEERTUBE_PATH/versions/peertube-${VERSION}/config/production.yaml.example" $PEERTUBE_PATH/config/production.yaml
+diff -u $PEERTUBE_PATH/config/production.yaml "$PEERTUBE_PATH/versions/peertube-${VERSION}/config/production.yaml.example"