Whamcloud - gitweb
create linux/configs if not present
authornic <nic>
Fri, 2 Apr 2004 21:21:53 +0000 (21:21 +0000)
committernic <nic>
Fri, 2 Apr 2004 21:21:53 +0000 (21:21 +0000)
lustre/scripts/lbuild

index 2c76308..1cd283e 100755 (executable)
@@ -270,6 +270,7 @@ patch_linux()
     popd >/dev/null
     echo "Full patch has been saved in ${FULL_PATCH##*/}."
     echo "Replacing .config files..."
+    [ -d linux/configs ] || mkdir linux/configs
     rm -f linux/configs/*
     cp -v lustre/kernel_patches/kernel_configs/kernel-${VERSION}-${TARGET}*.config linux/configs/
 }