Kaydet (Commit) e1f0979e authored tarafından Your Name's avatar Your Name

api fixes

üst 0730b8be
......@@ -3,11 +3,11 @@ fn_exists(){
LC_ALL=C type $1 2>/dev/null | grep -q 'function' &>/dev/null
}
is_target(){
return [ "$TARGET" == "$1" ]
[ "$TARGET" == "$1" ]
}
is_host(){
return [ "$HOST" == "$1" ]
[ "$HOST" == "$1" ]
}
notnull(){
return [ "$1" == "" ]
[ "$1" == "" ]
}
#!/bin/bash
is_pkg(){
[ "$package" == "$1" ]
}
takedir(){
mkdir -p $INSTALLDIR/$(dirname $2)
mv $INSTALLDIR/../../$1/install/$2/ $INSTALLDIR/$2
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment