1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 00:19:15 +00:00

improve tests

This commit is contained in:
deadc0de6
2022-05-03 23:13:51 +02:00
committed by deadc0de
parent c31f8ffcd5
commit 3dfa53469e
26 changed files with 108 additions and 71 deletions

View File

@@ -63,3 +63,33 @@ dotfiles:
profiles:
_EOF
}
# osx tricks
# brew install coreutils gnu-sed
if [[ $OSTYPE == 'darwin'* ]]; then
mktemp() {
gmktemp "$@"
}
stat() {
gstat "$@"
}
sed() {
gsed "$@"
}
wc() {
gwc "$@"
}
date() {
gdate "$@"
}
chmod() {
gchmod "$@"
}
export -f mktemp
export -f stat
export -f sed
export -f wc
export -f date
export -f chmod
fi