mirror of
https://github.com/notwa/rc
synced 2024-11-05 05:49:02 -08:00
add missing argument check
This commit is contained in:
parent
1941e3253d
commit
831536107c
1 changed files with 1 additions and 0 deletions
1
install
1
install
|
@ -95,6 +95,7 @@ softlink_pseudo() {
|
||||||
|
|
||||||
find_new_files() {
|
find_new_files() {
|
||||||
: "${1:?missing argument}"
|
: "${1:?missing argument}"
|
||||||
|
: "${2:?missing argument}"
|
||||||
list_files "$1" | while read -r f; do
|
list_files "$1" | while read -r f; do
|
||||||
local d1="$1/$f"
|
local d1="$1/$f"
|
||||||
local d2="$2/$f"
|
local d2="$2/$f"
|
||||||
|
|
Loading…
Reference in a new issue