diff options
Diffstat (limited to 't/chainlint/function.expect')
-rw-r--r-- | t/chainlint/function.expect | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/chainlint/function.expect b/t/chainlint/function.expect index a14388e..dd7c997 100644 --- a/t/chainlint/function.expect +++ b/t/chainlint/function.expect @@ -1,8 +1,8 @@ -sha1_file ( ) { +sha1_file() { echo "$*" | sed "s#..#.git/objects/&/#" } && -remove_object ( ) { +remove_object() { file=$(sha1_file "$*") && test -e "$file" ?!AMP?! rm -f "$file" |