mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Minor change to array-string assignment.
This commit is contained in:
parent
c1cf87f8d1
commit
0546411c62
|
|
@ -126,7 +126,7 @@ _usage() {
|
||||||
remove_patterns() {
|
remove_patterns() {
|
||||||
local args
|
local args
|
||||||
local tmpfile
|
local tmpfile
|
||||||
args="${@:3}"
|
args="${*:3}"
|
||||||
tmpfile="$(get_tmp_file)"
|
tmpfile="$(get_tmp_file)"
|
||||||
local file="${2/#~/$HOME}"
|
local file="${2/#~/$HOME}"
|
||||||
if [ -f "$file" ]; then
|
if [ -f "$file" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue