scripts: size_compare: fix support for CONFIG_BINARY_FOLDER
[openwrt/staging/hauke.git] / scripts / env
index df8b486bfece2a3385400a241e902a20915b717a..5987b4160f4a87a825ee13d8459ee9ae2c31e780 100755 (executable)
@@ -61,7 +61,7 @@ env_init() {
        mkdir -p "$ENVDIR" || error "Failed to create the environment directory"
        cd "$ENVDIR" || error "Failed to switch to the environment directory"
        [ -d .git ] || { 
-               git init &&
+               git init -b master &&
                touch .config &&
                mkdir files &&
                git add . &&