From c679fa5aefa7ddfcdf021c3ac187639b1a4c25f4 Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Wed, 19 Jun 2024 14:40:45 +0900 Subject: [PATCH] (deploy|phab-upgrade).sh: #!/usr/bin/env bash Summary: [Per wooledge BashGuide](https://mywiki.wooledge.org/BashGuide/CommandsAndArguments#Scripts). Also set `chmod +x phab-upgrade.sh`. Signed-off-by: Yongmin Hong Test Plan: run it? Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D364 --- deploy.sh | 2 +- phab-upgrade.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 phab-upgrade.sh diff --git a/deploy.sh b/deploy.sh index 36db9c0..f66be5e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright 2024 Hong Yongmin # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/phab-upgrade.sh b/phab-upgrade.sh old mode 100644 new mode 100755 index 026da0f..d3ffdd1 --- a/phab-upgrade.sh +++ b/phab-upgrade.sh @@ -1,4 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash +# Copyright 2016 Hong Yongmin +# SPDX-License-Identifier: Apache-2.0 cd ~/sandbox git pull origin master cd /var/www/phorge/phorge